Started by
thedogofcoolnes
on
Topic category: Help with Minecraft modding (Java Edition)
It seems that there isn't a way to modify existing elements, such as mobs or crafting recipes. Instead, is there a way to stop the base game ones from being usable, instead restricting the player to a modded version (ie: is there a way to make the base game pig stop spawning and have a modified pig spawn instead)?
on entity tick update:
if is entity pig:
teleport entity to (0,-1,0)(this makes it die in the void and destroys its drops)
summon CustomPigEntity at <x,y,z>