Started by
gamingfatcat
on
Topic category: Help with Minecraft modding (Java Edition)
Hello! I am making animal food. I'm not new to coding at all, but I still feel kind of silly. I want my food to do these things:
1. Give nutrition (figured out, I think)
2. Making animals in the mood to make babies.
I need to figure out
1. How to make foods only work for certain animals (eg. dog food only work for dog, pig food only works for pigs) so... How to set variables/ifs
2. How to get them in the mood to make babies once fed
I figured out how to make the item, as well as a custom item for the crafting recipe. Just need help with the coding/right click on entity side of things. Thank u 🙏
Edited by gamingfatcat on Fri, 11/22/2019 - 22:20
I have the same problom.