Animation condition wont recognize potion effects

Started by NyxYoru on

Topic category: Troubleshooting, bugs, and solutions

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Animation condition wont recognize potion effects

condition in question
Attempting to use this proceedure to trigger an animation doesnt work, ive also tried with remaining ticks of potion > 0, and still nothing,
Remaining ticks on fire also didnt work while i was testing this.
Attempting to just do Entity Y Position > 0 does work, so its not an issue with the animation.

Done on MCreator 2025.3.45720 on NeoForge 1.21.1 (21.1.190)

Animation condition only…
Mon, 02/02/2026 - 17:53

Animation condition only runs on the client side. It could be that potion information is not synced to the client side.

Try printing the value of has potion procedure block to see what it returns

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
prints false in console with…
Tue, 02/03/2026 - 02:32


prints false in console with an identical block.

printing the output from inside an entity tick proceedure seems to be outputting true from server side and false from client side at the same time.

so you were probably right, any idea what a workaround might look like?

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
spent some more time messing…
Tue, 02/03/2026 - 04:11

spent some more time messing with it and seem to have found a working solution, just added a custom attribute and made the effect increase it, if theres a smarter way of doing this that would still probably be appreciated but this seems like its not gonna cause any major problems for now

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding a synced data entry…
Tue, 02/03/2026 - 16:54

Adding a synced data entry instead of an attribute is probably smarter.