#I want to block players from mining under Y level 20

1 messages · Page 1 of 1 (latest)

ruby pond
#

do anyone want to help how to do this or have similar pack?

fierce stump
#

you could just change their gamemode one they reach that y level

fierce stump
#

execute as @a at @s run gamemode adventure @s[y=20]

#

put that in your tick function

#

or remove the all player selectors and put it in a tickplayer function

#

aswell as a execute as @a at @s run gamemode survival @s[y=19]

#

for just 1 way you could do it

woven summit
fierce stump
#

then change the number

zenith citrus
#

U could have a big interaction entity that follows the player on y 20

#

It's hitbox would stop then from mining or attacking anything below it