minecraft modding – How to make doors that only one player team can use?

I am creating a minigame in Minecraft Education Edtion.

In this minigame there is a killer and survivors. So I set it so 1 person is a killer and the reset are survivors.

In the game there are doors that the survivors can use. Now my question is how would I make it so only the survivors can close the doors, and when the survivor closes the door, if the killer is in a set range they well be “stuned”?

These doors are all over the place in a flat world in a 75 by 75 cube that is 10 blocks high.

Source link

More To Explore

Share on facebook
Share on twitter
Share on linkedin
Share on email