Beginner · 1 block

Emergency dismount button

Bedrock-only use case: press a button to make the player near the Command Block leave their current vehicle immediately.

Choose in-game screen
Bedrock Edition
Bedrock Edition (stable)

What you need

Before placing the blocks

  • 1 Command Block
  • 1 button
  • Bedrock Edition with cheats enabled

Expected result

Test after setup

The player within 4 blocks dismounts their horse, boat, minecart, or other current vehicle.

Configure one block at a time

Open the game and match these values

The copy button copies only Command Input. Choose every other value in the Command Block screen.

1

Main block — dismount the player

Attach a button to the Impulse Block and keep the player within 4 blocks before pressing it.

Command Block
Main block — dismount the player
Impulse
Unconditional
Needs Redstone
0
ride @p[r=4] stop_riding
Previous Output
-
Block Type:
Impulse
Condition:
Unconditional
Redstone:
Needs Redstone

If it does not work

Check these four things first

  1. Cheats are enabled and you have Operator permission
  2. Needs Redstone or Always Active matches the example
  3. Chain Block arrows face the same direction and follow the previous block
  4. Read Previous Output to find the command that failed
Read the Command Block basics