How can I teleport players in half-block increments?

How can I teleport players in half-block increments? - Two Men Playing Volleyball Near Red Canopy

I am currently working on a map. There is an intro of the map where I want to let players to get teleported half block at a time, following a route to get a preview of the map. If they try to move, they will get teleported back to the route.

How can I make the player be teleported half (or less), not whole blocks at a time?



Best Answer

Place a series of armor stands with some scoreboard value, using a 20hz clock, (of repeat blocks) teleport the player to the stand that has a value of zero, the use another block to decrement all of the stands, if you want it to be repeatable, add that number back when you are done.




Pictures about "How can I teleport players in half-block increments?"

How can I teleport players in half-block increments? - Volleyball Players Spiking a Ball Through Blockers
How can I teleport players in half-block increments? - Men Playing Volley Inside a Covered Court
How can I teleport players in half-block increments? - Man in Black T-shirt Playing Basketball



How do you teleport players in different dimensions?

To teleport yourself to another dimension, open the chat box and type: /execute in DimensionName run tp PlayerName ~ ~ ~.

How do you teleport to a specific block?

Type this command in when having the command block GUI open /teleport @p <x> <y> <z> . Then, activate the command block with redstone (including buttons, levers, and pressure plates), and they will be sent to their destination. The player can set up multiple different teleports.

How do you teleport to one block forward in Minecraft?

To teleport all players to x=84 y=57 z=79 in the End: execute as @a in minecraft:the_end run teleport 84 57 79. To teleport Alice to x=251 y=64 z=-160 in the Overworld: execute as Alice in minecraft:overworld run teleport 251 64 -160.



HOW TO: TELEPORT WHEN STEPPING ON CERTAIN BLOCKS Minecraft PE Nether Update(command block tutorial)




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Jim De Ramos, Pavel Danilyuk, Pavel Danilyuk, Pavel Danilyuk