Can entities find items and use them?

Started by JoallBlue130 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can entities find items and use them?

Hello! I wanted to know if a custom mob can look for a specific item in some circumstances (eg. if has 5< life looks for a bread) and use them, deleting item and having something in return (eg. finds a bread and eats it, then gets some life).