Started by
Electroman
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a totem mod where if you die with this totem it makes an area where you are buffed and enemies debuffed. I have everything else working but every time I try to use NBT data to specify if the player is the "dominant" player it just doesnt work. Furthermore the entities around me get none of the effects while I(the target/event entity) receive all of them. Here is my code: https://imgur.com/a/CPuEt1s
Dude, what are you doing?
Why are you using text variables for logic?
There are logic tags..
Please report back on what happens after the change.
Also I highly suggest setting the local variable to be a number tag, and get an if statement for when it ends to set the value to false.