Questions tagged [minecraft-modding]

For questions about modding Minecraft, regardless of the edition.

Screenshot of the Minecraft box art.

Minecraft, is an exploration and survival-based voxel sandbox game with a twist: every world is procedurally generated and (almost) endless.


What is modding in Minecraft?

Modding in Minecraft allows users to customize many features of the game through:

  • Data Manipulation
  • Code Manipulation
  • Scripting

Java is the most common programming language used in Minecraft mods, but you can also expect to see JavaScript within add-ons for Bedrock edition. The tag should be used when you have a question or problem related to creating and programming a Minecraft mod.

Note: Mods are NOT the same as plugins. See this post to learn more about the difference.


Resources

There are plenty of resources available for modding and customizing Minecraft, regardless of the edition of the title you're playing.

Name Java Edition Bedrock Edition
Bukkit ✔️
Forge ✔️
236 questions
6
votes
3 answers

How do I modify the health of an entity after it has been created?

Is there any way to add or remove health after an entity has been created? For example, I'd like to have a mob regenerate "hearts" when some event happens.
iiridescent
  • 173
  • 1
  • 7
4
votes
1 answer

How can I create a Minecraft: Bedrock Edition add-on?

I would like to create a custom add-on for Minecraft: Bedrock Edition, but I'm not understanding everything involved with getting started. After reading a few tutorials, I have some understanding of what to do, but there is nothing that wholly gives…
3
votes
2 answers

Why Minecraft has such a terrible backward compatibility?

For every release of Minecraft, even a minor release, is almost guaranteed to break some plugins or mod. Why is this so? I am asking this so that we could avoid the same architecture problem as Minecraft. I mean, why can't the upgrades also support…
Rosdi Kasim
  • 139
  • 4
3
votes
2 answers

Is there a way to create a cellular automaton mod for Minecraft?

I basically want to create a mod for Minecraft that does the following: if(a sand block is next to lava block) { change the sand block to a glass block } Is it possible to create a mod like this without editing multiple Java classes?
Andy
  • 31
  • 2
2
votes
0 answers

How do I make a Minecraft recipe that costs XP?

I want to program a Minecraft client-mod or server-plugin that adds a recipe for making a Bottle o' Enchanting with the following ingredients: 1 glass bottle + 1 lvl of experience → 1 Bottle o' Enchanting One possible implementation that I have…
2
votes
1 answer

How can I mod Minecraft 1.7.9?

I've looked up a lot of tutorials on YouTube and all of them only work for versions of Minecraft prior to 1.7.9. I first got a Minecraft Coder Pack (MCP) off of this website, but then realized that only decompiles Minecraft 1.6.4. Then I found a…
2
votes
2 answers

Is Minecraft's source code available?

I recall Mojang stating they would release the source code of Minecraft sooner or later, but searching both on google and on Minecraft sites I wasn't about to find it. So... is it available somewhere? With what license? PS: not interested in sources…
o0'.
  • 3,370
  • 2
  • 34
  • 51
2
votes
3 answers

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 the villager's java file, which can lead to some…
Sydney
  • 21
  • 6
1
vote
1 answer

Minecraft Forge Look for Entities in a Certain Location

The title mostly explains it. I have a tile entity that is called Energizer. I want this energizer to check to see if there is an EntityItem on top of it and if so, consume it and create energy. The only problem is, I can't figure out how to check…
Andrew Graber
  • 131
  • 2
  • 9
1
vote
0 answers

Where to find comprehensive Forge documentation?

There are a lot of things I'm trying to accomplish with a Minecraft mod. Some of it seems rather academic but finding a complete source of documentation is, well ... something for which I should hire Sherlock Holmes. Is there a comprehensive source…
IAbstract
  • 179
  • 8
1
vote
1 answer

Change Minecraft Drowned sounds with resource pack?

I'm trying to change the Drowned sound effects in Minecraft Java edition 1.18, but they don't change. What file structure and files are needed change the sounds? I tried putting the files under…
1
vote
3 answers

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?
Etwus
  • 13
  • 2
0
votes
1 answer

How to generate all possible lang fields for a modded Minecraft pack?

I want to translate a modpack Tekkit2 in Minecraft. According to Minecraft wiki one has to create a resource pack and map identifier-translation pairs to a json file. However in order for the translation to be whole, I would have to know the…
0
votes
0 answers

Modpack crashes by generating and entering a world

My own Modpack is chrashing every time I want to generate a new world or want to enter an existing (from older versions or vanilla) I getting this error: The game crashed whilst exception in server tick loop Error: java.lang.NoSuchMethodError: 'void…
0
votes
0 answers

How do I do damage with spawned particles with MCreator?

I would like to create a sword that summons particles that do damage (like the katanas of the demon slayer mod) could someone help me? I've been trying for days.
1
2 3