Started by
NyxYoru
on
Topic category: Troubleshooting, bugs, and solutions

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 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
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?
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
Glad to hear you have found a workaround
Adding a synced data entry instead of an attribute is probably smarter.
That is also true