Why isnt this working?

Started by Muzaki on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why isnt this working?

My code is "if entity is (sub)type of potion, do send chat message "message""

why doesnt it work? The same thing was happening when I was trying to do it with arrows.

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you using a Global…
Sat, 08/21/2021 - 10:10

Are you using a Global trigger or a trigger from an item?
By that procedure block you are referencing an entity. If you are just saying "on entity tick" that should work, you should be getting the message back. But if the global trigger is "on player tick update" then it is checking if the player is a potion.
Could you show an screenshot of the procedure?