Adding a new entity to the world in Minecraft
So you’ve decided to make a minecraft mod and wanted to add a new creature into the world. In this case it’s going to happen when you right click an item though this code would work form anywhere.
Simple as that.