Minecraft Java Edition – Turning a Shulker into a Vehicle by Teleporting It

minecraft-commandsminecraft-java-edition

So I was trying to make a plane/vehicle in Minecraft by teleporting Shulkers, using the /tp command. I made a repeating command block with this command:

/tp @e[type=Shulker] ~ ~0.1 ~

Even though they dont move the command block outputs this:

[16:34:02] Teleported Shulker to 837.5, 59.5, 176.5

So am I doing anything wrong here? Is it because the shulkers are like a block?

I really thought this would work but they just stayed there. When I changes the 0.1 to 1 they telported up really really glitchy like teleporting everywhere.

Is there any way to do this?

Best Answer

Shulkers automatically snap themselves to the grid when moved, so your teleport works, and then the shulker rounds its position and returns itself to where it last was.

Consider making it ride another entity like an armor stand, which stops this behavior.

/summon armor_stand ~ ~ ~ {CustomName:ShulkerHolder,Marker:1b,Invisible:1b,NoGravity:1b,Passengers:[{id:shulker}]}

You then teleport the armor stand like so: /tp @e[type=armor_stand,name=ShulkerHolder] ~ ~.1 ~