Topic category: Help with Minecraft modding (Java Edition)
Hello again, I had figured out the redstone thing, however now i have a new problem.
I am working on a siren sort of thing, and I am having a problem with making the sound, i am interested in making the siren play only once per redstone signal, this works if i don't use the custom block, because i am sending updates per block tick, which seems to not be working, i was wondering, if anyone maybe knows how i can do this?
This is the block for the siren:
when the sound effect plays, it seems to play multiple times, where it seems to spam it, basically i'm wondering, if there is anyway to fix this at all, or make the sound just play once somehow.
hope someone knows how to do this, thank you
with NBT Logic Tags
could you give more detail? i'm doing it, and i made it echo the result, but it just keeps saying "False"
can you give me more info?
if get Global:Storming = true AND Get NBT logic tag sus of block at x y z = false
do play sound
set NBT Logic Tag sus to True