banner



How To Set A Command Block To Teleport

Use Command Cake to Teleport Player

This Minecraft tutorial explains how to program a command block to teleport a player to another identify in Minecraft with screenshots and step-past-stride instructions.

console command

Let's explore how to do this.

Supported Platforms

This control cake plan is available in the following versions of Minecraft:

Platform Supported (Version*)
Java Edition (PC/Mac) Java Edition (PC/Mac) Yes (1.8)
Pocket Edition (PE) Pocket Edition (PE) Yes (1.0.v)
Xbox 360 Xbox 360 No
Xbox One Xbox Ane No
PS3 PS3 No
PS4 PS4 No
Wii U Wii U No
Nintendo Switch Nintendo Switch No
Windows 10 Edition Windows ten Edition Yes (1.0.v)
Education Edition Pedagogy Edition Yeah (one.0.18)

* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox Ane, PS4, Nintendo Switch, and Windows x Edition are now chosen Bedrock Edition. We will proceed to show them individually for version history.

Required Materials

In Minecraft, these are the required materials to use a command cake:

TIP: Read our tutorial called Understanding the Coordinate System to learn about the XYZ coordinates in Minecraft and how to find your electric current coordinates.

Program the Command Block

Outset, you lot need to program the command block to teleport a player with the /tp control past providing a prepare of XYZ coordinates. This /tp command will be run each fourth dimension the command block is activated.

And then, stand up in front of the command block with your arrow (the plus sign) on the command block and click on the right mouse button.

open command block

This will bring up the programming console for the command block.

console command

At present, type your command in the "Panel Command" text box. We employ the /tp command to teleport the player.

TIP: When you are using control blocks, you have certain values that you can utilize to target players:

@p - targets the nearest player
@r - targets a random player
@a - targets all players
@east - targets all entities

In this example, nosotros are going to teleport the nearest actor to a specific set of XYZ coordinates. The @p is used to target the player that is closest to the command cake. The coordinates 85 72 -200 are specific XYZ coordinates of the location where you want to teleport the thespian.

console command

When you are finished entering the command, click on the Washed push button.

Activate the Command Block

Now, activate the command block with the redstone device such equally a lever, button, or pressure plate. In this example, nosotros have placed a stone pressure plate next to the command block.

open command block

When a player stands on the pressure plate, the command block will be activated.

console command

At present the player should be teleported to the desired coordinates.

Congratulations, you lot take learned how to program a command block to teleport a player to another place in the game.

Command Block Programs

Here are some control cake programs that you can try:

Source: https://www.digminecraft.com/command_blocks/teleport_player.php

0 Response to "How To Set A Command Block To Teleport"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel