I've been trying to set up a bossbar that only displays in a radius of 90 around my home base. I have already set up an infinite loop to make the bossbar show up, but I cannot figure out how to make it dissapear when outside of the radius. Please help!
here is my current command:
/execute if entity @e[distance=90..] run bossbar set 'name here' visible true
I've been trying to set up a bossbar that only displays in a radius of 90 around my home base. I have already set up an infinite loop to make the bossbar show up, but I cannot figure out how to make it dissapear when outside of the radius. Please help!
here is my current command:
/execute if entity @e[distance=90..] run bossbar set 'name here' visible true
Just run this in a loop and it will do everything automatically:
/bossbar set minecraft:<id> players @a[distance=..90]
Also, please post command related question in the command section as that's where all the command block people answer questions
I've been trying to set up a bossbar that only displays in a radius of 90 around my home base. I have already set up an infinite loop to make the bossbar show up, but I cannot figure out how to make it dissapear when outside of the radius. Please help!
here is my current command:
/execute if entity @e[distance=90..] run bossbar set 'name here' visible true
Just run this in a loop and it will do everything automatically:
Also, please post command related question in the command section as that's where all the command block people answer questions
https://www.minecraftforum.net/forums/minecraft-java-edition/redstone-discussion-and/commands-command-blocks-and
Command block engineer // Developer // #TeamTrees