Ok so much like the chicken drops eggs randomly in vanilla minecraft, I would like to know how to code something like that in for other animals, maybe my pet wolf would poo every once in a while or something and it would be an actual item that is created by my mod.
It would be nice for this tutorial to be for Forge, but if it were for mod loader I guess I could figure it out.
It would be nice for this tutorial to be for Forge, but if it were for mod loader I guess I could figure it out.
with the search and you will see all the code for how it works
https://github.com/Z...hickenShed.java
change the line
event.entity instanceof EntityChicken
to
event.entity instanceof IAnimals
and see what happens