me and my friend are building a souls-like adventure map, and we are trying to make a bonfire system (though for us it's called Waystones). The idea is that we have the "waystone", and an invisible and invincible armor stand that detects when a player is 1 block away (or under) to then add a tag called "inZone". This command does work.
/execute as @e[tag=NexusTestWaystone,tag=!inZone] at @s if entity @p[distance=..1]
Then we tried to make it detect when a player is out of the 1-block-and-under area but making a command that removes the tag "inZone".
/execute as @e[tag=NexusTestWaystone,tag=inZone] at @s unless entity @p[distance=..1] run tag @s remove inZone
Though oddly enough this remove tag command does not register at all. It does not even activate. Can someone please aid us and tell us if something is off or wrong please? thank you very much.
Hello! To me everything seems perfect, I even tried it myself and it works flawlessly. So you have these commands in a ticked function or repeating command blocks:
/execute as @e[tag=NexusTestWaystone,tag=!inZone] at @s if entity @p[distance=..1] run tag @s add inZone
/execute as @e[tag=NexusTestWaystone,tag=inZone] at @s unless entity @p[distance=..1] run tag @s remove inZone
This works without problems, maybe you just made a small mistake when using the commands?
Hello,
me and my friend are building a souls-like adventure map, and we are trying to make a bonfire system (though for us it's called Waystones). The idea is that we have the "waystone", and an invisible and invincible armor stand that detects when a player is 1 block away (or under) to then add a tag called "inZone". This command does work.
Then we tried to make it detect when a player is out of the 1-block-and-under area but making a command that removes the tag "inZone".
Though oddly enough this remove tag command does not register at all. It does not even activate. Can someone please aid us and tell us if something is off or wrong please? thank you very much.
Hello! To me everything seems perfect, I even tried it myself and it works flawlessly. So you have these commands in a ticked function or repeating command blocks:
This works without problems, maybe you just made a small mistake when using the commands?
Command FAQ
Minecraft Randomizer DataPack (by Me)
Perhaps... I've linked these commands to chains that do the following:
ADDING TAG = places redstone block to start long chain events of redstone
REMOVING TAG = removes redstone block by placing an 'air' block instead
Though that 'removing redstone block' part does not happen. Let me also get an image to show my command setup: https://imgur.com/BNIbKuY