New Minecraft Command Block Elevators Simple Command tutorial. Make Elevators In Minecraft Java!

Video Summary
In this video I show you how to build a super fast command-block elevator in Minecraft Java using just two command blocks—one for going up and one for going down. I demonstrate how jumping on specific blocks triggers an /execute command that checks the block below you and teleports only the player standing there, so it works well on multiplayer servers. Then I explain how to customize the elevator by changing the block type and the Y value for different floor heights, and how to invert the number for the downward elevator.

Formatted Transcript

Hey everybody, it’s UnderMyCap, and welcome back to another video. Today I’m going to show you how to make a very cool—and very fast—elevator for your Minecraft world using commands.

If you look behind me, you’ll see two platforms. I’m going to explain exactly how to set this up. You only need two command blocks total: one for going up and one for going down.

How the Elevator Works

This is the elevator itself. In my example, there are two wood blocks and the rest is stone. You can change these blocks to whatever you want—I’m only using these materials so it stands out clearly during the demonstration.

When I stand on the elevator and jump, I get taken up. You can see the command executes immediately. To go back down, I stand on the darker wood block and jump, and it teleports me back down. It’s simple, quick, and you can use it as much as you like.

This also works for multiple stories. If you add another floor, jumping will teleport you there. If you don’t land on a platform, it can look a bit glitchy (you may get teleported more than once), but the system still works.

The Command (Core Setup)

There’s basically one command. Once you understand it, you can customize it in as many ways as you like.

The command uses /execute. We execute it “as” everyone, but it only affects the individual player standing on the correct block. That means you can use this on a multiplayer server and it won’t teleport everyone—only the player who activates it.

Step 1: Execute as each player

Start with:

/execute as @a at @s run ...

This runs the command for each player, at their location.

Step 2: Detect the block beneath the player

Next, you want to test for a specific block under the player. In this example, we’ll use stone:

... if block ~ ~-2 ~ stone run ...

Note: The -2 is important. At first I accidentally used -1, which checks only one block beneath you. I recommend checking two blocks below (~-2) so that the player has to jump to activate the elevator. This prevents people from being teleported constantly just for walking over the area.

With this setup, you can walk around normally and nothing happens—but as soon as you jump on the elevator spot, it triggers the command.

Step 3: Teleport the player

Then you teleport the player using relative coordinates:

... run tp @s ~ ~7 ~

Those three tildes are relative positioning. The important one for an elevator is the middle value (the Y-axis). If you want to go up 7 blocks, set it to ~7. You usually don’t need to change the first and third values (X and Z) because you want to stay in the same spot horizontally.

Customizing the Height and Block Type

This system is flexible. You can change the teleport height to whatever you want. For example, you could change it from 7 blocks to 9 blocks by using:

tp @s ~ ~9 ~

You can also change the trigger block. For instance, instead of stone you could use a stone brick slab (or any block you want). Just change the block in the if block part of the command.

If you don’t have a platform beneath where you teleport to, you may keep getting teleported because the game is still detecting the condition while you’re in the air. As long as you build proper floors, it works smoothly.

Creating the “Down” Elevator

For the “going down” part, you can copy the command block (for example, using Ctrl + middle click) and then make two changes:

  • Invert the teleport number so it becomes negative (for example, ~ -7).
  • Use a different trigger block than the “up” elevator, so the commands don’t conflict.

For example, if your “up” elevator uses stone, you could make the “down” elevator use wool (or the darker wood, like I did). That way, when you jump on one block, you go up, and when you jump on the other, you go down.

If you build a platform and stand on the “down” trigger block, jumping will teleport you down—really clean and easy.

Wrapping Up

That’s pretty much it. This is a quick setup, and I believe a subscriber actually suggested it—so thank you for the contribution.

If you want me to make another video or you have an idea for a tutorial, leave it in the comments. Don’t forget to like the video and subscribe for more Minecraft content. My socials are in the description—feel free to check them out.

I can’t wait to see you in the next video. See you!

Video Thumbnail

Recommended Items Based On Post

Bestseller #2
  • 100PCS Magnetic Tiles Advanced Set – If you’re looking to spark some creativity in your child’s playtime, look no furthe…
  • Safe & Compatible – Coodoo magnetic tiles are made of safe and durable Food-grade ABS plastic. A smooth surface and roun…
  • STEM Montessori & Sensory Toys – Coodoo magnetic tiles are open-ended kids’ toys that grow with your kids and provide bo…

Advertisment

Leave a Reply

Scroll to Top