1

I am playing Minecraft Education Edition, and I want to know if it is possible for the door to stun a player. For example if there are 5 players I want 1 of them to be able to be stunned by the door. What I want to happen is when 1 of the 4 players closes a door and if the other 1 player is close enough they will be stunned. Summary, there are 5 players and only 4 of them can close doors. If 1 of the four players closes a door while the 1 player is close enough, how would I stun that player?

3
  • 3
    Maybe applying a high level of slowness in a certain radius?
    – pinckerman
    Jan 10, 2022 at 17:16
  • 3
    You could apply a slowness potion using an execute command that checks if someone is inside of a door, but it will probably require plugins to detect door closing/opening.
    – Korogue
    Jan 10, 2022 at 17:31
  • you could try using lingering potions of slowness with high potency with short durations.
    – Leah
    Jan 10, 2022 at 18:02

1 Answer 1

1

I suggest using a repeater to detect if the door is closed and have the repeater power a command block with the command /effect (insert name of the person you want to stun) blindness (duration of effect) 1 true

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .