Hello. I am making animal food...

Started by gamingfatcat on

Topic category: Help with modding (Java Edition)

Last seen on 05:36, 25. Nov 2019
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello. I am making animal food...
Fri, 11/22/2019 - 22:20 (edited)

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