Minecraft – How to make animals unkillable

minecraft-java-edition

Since I showed my 3 year old son the tree house and farm I had built in Minecraft, he has become a huge fan of the game also. At first I would play and he would watch, but now he has started playing himself. I've created a creative world for him and set the difficulty to peaceful. I have built a house and a little farm with wheat, cows, chickens, pigs and sheep. He loves playing farmer.

Unfortunately, as a farmer, he is not always being nice to his animals. He often punches the animals when they are in the way and then the animals die. I would like to be able to make the animals unkillable, because I don't like him killing defenseless animals.

Is there a mod or something that I can use to make the animals unkillable? I have tried searching Google, minecraftforum.net and gaming.se, but I haven't found anything useful yet.

Best Answer

The solution I can think of is using MCP, which allows you to change the source code of Minecraft (including changing the animals). But if you can't do that, try using these files.

If you have 7zip, open up your minecraft.jar and paste the files inside the zip inside jar. Then delete the META-INF folder inside.