Why isnt this working?

Started by Muzaki on

Topic category: Help with modding (Java Edition)

Last seen on 05:06, 30. Aug 2021
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.

Last seen on 07:36, 20. Apr 2023
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?