I am trying to make a bedwars map, and it has hunger and thirst mechanics, but i need to make it so if a teams bed is destroyed, they cannot respawn.
(example: red’s bed is destroyed, a property is updated for that team, anyone on that team gets knocked out, that knocked out player is now spectating)
but how do i make it sense who’s team had their bed destroyed. each bed on my map has their own channel that gets transmitted when the triggering bed is destroyed