Started by
dabbeddabdabb
on
Topic category: Help with MCreator software
im working on a personal mod for myself, I have this "if" condition that executes on player tick, however it seems that sounds still end up playing even if the if condition is false? or at least that's what appears to be going on since no further parts of the procedure seem to occur after the initial sound. im not sure on why this is occurring. The procedure does work ok for the most part, it just appears that sometimes the sound goes off without anything else happening. procedure is below:
any help would be greately appreciated as ive still not found a fix for this
Hey dabbeddabdabb, same issue happened to me. Looks to be something that could be possibly MCreator 2024.3 related (although I haven't tried it with any different versions). I've tested it with versions of my mod for Forge 1.20.1 and NeoForge 1.21.1, both having the same problem.
In my case using /playsound through "execute command" block instead of the "play sound" one did the trick. Less than ideal, but I guess it gets the job done.
Hope it helps at least one person who's going to come across this thread :)