Questions tagged [minecraft-modding]

For questions about modding Minecraft.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

Mcreator (Minecraft Mod-making) Compile Error

I'm trying to make a tool pack but every time I get the message: ...
0
votes
0answers
23 views

How do I make the player invulnerable using Fabric modding?

I am making a Minecraft mod using the fabric mod loader and I want to make the player invulnerable for a duration when they eat a certain food item. I don't know how to manipulate anything concerning ...
0
votes
1answer
37 views

How to morph a player character into another entity in MC JAVA 1.16-1.17?

I want to add morphs into my game. Is there any command/code/resource I can use to make someone morph into an entity?
0
votes
1answer
33 views

how to ADD a NEW entity/item/effect to Minecraft Java

In Minecraft Java, I am creating many resource packs by myself (no studio or external resource) so, I want to ADD a new file/entity/element/items/etc. to the game to not replace an old item because ...
0
votes
1answer
66 views

Is it possible for Minecraft to use time-dependent in-game progression rather than current tick-dependent?

I see the problem of the current tick-dependent approach to propel the in-game progression. The drawback of this tick-dependent approach is that if a computer running the game is not powerful enough, ...
0
votes
0answers
31 views

how to add a mob to Minecraft [1.16] [duplicate]

I have tried to search around google, Bing, and Minecraft forums. I wand to ADD a NEW mob to the game. ------------ requirements for the answer ------- it has to be compatible for 1.16.4 it has to be ...
0
votes
0answers
43 views
1
vote
2answers
281 views

Crash when Setting Up Minecraft 1.12.2 Mod in IntelliJ

I'm trying to set up a Minecraft modding environment in IntelliJ. (I've settled for 1.12.2 as this version still by far the largest stable platform for Forge modding with the best support.) Anyway, I'...
0
votes
0answers
26 views

How to set an exact pitch in Minecraft Java 1.16.1 Resource Pack

I'm trying to make a resource pack in Minecraft Java 1.16.1. The pack will replace all of the Minecraft sounds with LoZ BotW sounds. The first thing I did was put the BotW pickup sound in place of the ...
2
votes
1answer
143 views

Potion effect never wears out

I am writing a mod for Minecraft (in Java, duh) and want to apply a random potion effect like this: ...
-1
votes
1answer
105 views

What is root.json file in Minecraft?

I found root.json file in minecraft source code and I want to know what is root.json file in minecraft. I found minecraft source code with VS Code Decompiler extension.(For find minecraft source code, ...
0
votes
1answer
133 views

Unknown error when trying to register a Minecraft ArmorItem

The error in question is [Inferred type 'I' for type parameter 'I' is not within its bound; should extend 'net.minecraft.item.Item'] on the following snippet of code ...
0
votes
0answers
65 views

Converting vertices to block coordinates

Sorry if this is the wrong place to ask this, please do tell me where a question like this is better asked. Im importing a model from another game into the video game minecraft, which uses a ...
0
votes
1answer
71 views

Minecraft: `foot_size` doesn't work

I'm making an add-on that lets the player step over 1-block high blocks and the foot_size property is exactly what I'm looking for. The documentation says the following: "Sets the number of ...
12
votes
2answers
6k views

How do Minecraft know where village's buildings are if the village is not generated yet?

I'm trying to understand how chunk generation works in a deep level and all the information I found does not explain how the villages are generated properly without visual glitches during generation. ...
0
votes
1answer
4k views

How can I use IntelliJ to make Minecraft mods?

I'm starting out creating Minecraft mods with my son. I've seen one YouTube tutorial which sets up project with Eclipse. Since I don't like Eclipse much, I ask: how would I setup IntelliJ or Android ...
2
votes
0answers
437 views

Forge 1.14.4 Minecraft modding: Override vanilla loot tables

I cannot figure out how to override vanilla loot tables, I've been at this for hours, and I can't find anything online. Just very outdated tutorials. I added custom crops and seeds to my mod, now I ...
0
votes
1answer
46 views

Are minecraft LANS and servers Filtering Enabled? [closed]

Non-filtering enabled means any given client can make changes and the server will replicate them. This is faster but opens doors for hackers and exploiters. Filtering enabled means the client provides ...
0
votes
1answer
2k views

How can I change the hardness and blast resistance of Minecraft blocks?

I want to make the strength of the iron block and obsidian switch places, along with other changes to block strength and blast resistance. I am not allowed to swap the textures or anything like that. ...
0
votes
1answer
583 views

How can I get the player coordinates in Minecraft

I am currently working on a client for Minecraft Java edition and I'm having an issue finding out how I can get my Minecraft character's current coordinates, client side coordinates. I would just ...
0
votes
0answers
66 views

No MODS button in Windows Minecraft when selecting Forge profile

I have installed a Minecraft launcher in Windows that supports Minecraft 1.14. I have installed Forge 1.14.4-forge-28.0.13. I have created the mods folder and placed a mod jar in it which is ...
0
votes
1answer
73 views

How do I fix a “missing mcp.cfg” error?

I am trying to use mod coder pack (MCP) to create mods of my own. I have downloaded MCP 9.4 version from www.modcoderpack.com. The error that I have encountered is that when I try to run a file called ...
1
vote
3answers
1k views

How can I make a custom mob that looks like the Enderman?

I have previously made two other mods that added in mobs. In order for the mob to look like a wolf, I needed the wolf.java file (Found online). Without setting a defined java file, the mob will use ...
1
vote
3answers
339 views

How minecraft manages interactable blocks (Chest)?

I am wondering, how does minecraft handle blocks like chest? I guess normal blocks are ids in simple array, but how does it store and references blocks with special behaviour?
0
votes
1answer
2k views

Unsupported API version on Spigot 1.14 snapshot

I'm (trying to) develop a plugin for Spigot Minecraft 1.14.2. I have tried putting both api-version: 1.14.2 and ...
0
votes
1answer
132 views

How can I use Cocoa beans in Minecraft Forge custom crafting recipes?

I'm creating a Minecraft mod with Forge, and I need to create a custom crafting recipe that uses cocoa beans. However, when I try to create the recipe, it does not work (as in, I cannot craft items ...
1
vote
1answer
174 views

How can I get old Minecraft style terrain biome selection?

I'm using this post as a reference for what I'm doing. The real thing of interest is this: As you can see, this is a Whittaker diagram, with temperature and rain considerations. So would this be ...
0
votes
0answers
53 views

Minecraft Optifine - where is the zoom class?

I'm working on a mod where I want to have a zoom feature like Optifine. To start out, I want to try messing around with the zoom in the actual Optifine mod. There are a lot of .class files, and I don'...
1
vote
0answers
29 views

Where do I write code in my minecraft modding environment?

So this is probably a stupid question but I'm just beginning so I hope someone can help. I set up my whole modding environment in eclipse but the problem is that I don't know where to start writing ...
1
vote
1answer
354 views

How can I make an entity invulnerable to fall damage?

I've been using minecraft forge 1.12 to make a mod that gives the user super-jumping abilities. However, I've been having trouble making the player invincible to fall damage. I've tried to use a ...
0
votes
1answer
813 views

Minecraft modding 1.12 draw image

I want to draw an image that I created but the image is too big. Now I want the Gui to scale the image to a reasonable size, but when I change the width and height it doesn't make the image scale down/...
0
votes
1answer
366 views

How do I use the Minecraft Coder Pack on Linux

I downloaded the Minecraft coder pack to mod the game and decompile it, but how do I use it on Linux. Some sources seem to give specific directions, but they are not clear and they involve executing ...
0
votes
1answer
362 views

Minecraft/OpenGL - Create Multiple viewports

I'm working on a project for the game and i have been trying to draw a second smaller "window" that would act like a second camera, independent from the player. I have looked into glViewport however ...
0
votes
2answers
466 views

Minecraft Bedrock behaviors: drop items for player/owner?

I'm making a simple behavior pack for Minecraft's Bedrock Edition for my own experimenting - the aim is to get tamed wolves to play fetch. The behavior pack is valid and loading, as it sort of works, ...
-1
votes
1answer
117 views

Interesting graphic artifact

I was exploring old Minecraft source code when I encountered this: I just wanted to know what causes such distortion and how to fix it with OpenGL?
0
votes
1answer
1k views

Does Minecraft Really Rely on CPU More Than GPU For FPS? [closed]

I understand that Minecraft runs on Java which is very demanding on the CPU (garbage collection and JVM processes), but I still don't understand how FPS is the CPU's responsibility. Shouldn't the CPU ...
4
votes
2answers
516 views

Name of this technique used in games such as Minecraft or the sims

In Minecraft, there are some blocks which are a little bit different than just cubes. For example stairs or fences: these elements are "aware" of their surrounding blocks and render differently based ...
1
vote
0answers
61 views

Problem with Thread (bunggecord and spigot)

I would like to see how many players are connected in a server by the way bukkit and Bungee messaging channel like this : ...
1
vote
1answer
53 views

How to distinguish multiple same element already in place on a minecraft map

I am currently working on a minecraft plugin using spigot. It's a sort of a race between players where checkpoints validation is needed. I have a minecraft map edited on MCEdit and I have severals ...
4
votes
2answers
1k views

How do i store blocks information in my Voxel game?

I am trying to make a voxel game. Voxel games made by blocks and each block has it's own information such as durability, step sounds, strength, ... How do i store these information inside of blocks? ...
2
votes
2answers
209 views

Iterating in “box” formation

I'm writing a minecraft clone in C++ and need some assisting with the chunk generation. Because I only want to load chunks that are near the player, I have to load and unload chunks based on the ...
0
votes
1answer
260 views

No files in .net.minecraft

So, I've been trying to make a minecraft 1.11.2 client for minecraft. Thing is, the mcp/src/minecraft folder is empty, without any net files. The only error I had while decompiling was missing lwjgl 2....
-1
votes
1answer
642 views

How can I create new Minecraft items in a Spigot plugin?

Is it possible to make a new custom item in a plugin so that in-hand 3D models and textures don't interfere with vanilla Minecraft items? How?
5
votes
0answers
145 views

Scoreboard setdisplay list shows correctly per char. Can i make my sidebar show correctly per char as well?

So I've been writing a script over the last little while in Python that interacts with the Minecraft console. I'm basically trying to make a scoreboard based currency system that is world independent ...
1
vote
1answer
220 views

Minecraft: What is the reasonable face/vertex limit for custom models?

When adding custom models to function as tile entity representations, what is a reasonable ceiling - based on performance - to maintain for individual models? Assume that the player will have the ...
1
vote
0answers
630 views

Minecraft modding - Dealing extra damage from a sword

I am making a Minecraft mod, and in my tin sword, when it deals damage to an entity, it randomly deals more damage. ...
1
vote
1answer
92 views

How can I add my custom mob to my minecraft game?

So, I'm obviously not a very experienced mob maker, so ill just get to the point. after I made a custom mob, I had no idea where to put it, how to make sound, how to make an egg for it etc. would ...
0
votes
1answer
44 views

Moving entities above a tile entity

Sorry if my code looks amateur I just started modding, although I have experience in Java. I have a tile entity checking every frame if there are entities above it. It works, but then stops after 1 ...
0
votes
2answers
2k views

Source code of Minecraft servers?

Is there any way to get the source code of Minecraft servers? I tried decompiling but I get very obfuscated arguments, classes, and methods. If the answer is no, how did services like Bukkit and ...
2
votes
1answer
220 views

How to make more jagged terrain [closed]

I need some help with some terrain I'm working on. I'm developing a plugin for Minecraft, but these concepts will apply to any game with terrain. I am using Simplex noise to generate cavern-like ...

1
2 3 4 5