how to link a function to an item?

Started by Joow on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to link a function to an item?

I'd been trying to make an item "calls" sheeps but when I enter minecraft, using right click turn on the function no matter what item I'm using

English is not my first language, sorry for bad english 

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can bind the procedure…
Wed, 06/29/2022 - 10:46

You can bind the procedure the a trigger of the item.

Also i recommend to check the current mainhand item of the player