How to make smooth elevators in minecraft(JAVA)
Today i will show you how to make smooth rideable elevators in minecraft
Special-Thanks to "The Grogalorian"(From planet minecraft) For the minecraft skin. https://www.planetminecraft.com/member/the_grogalorian/
COMMANDS:
summon minecraft:armor_stand 2243 -60 2248 {Invisible:1,NoGravity:1,Tags:["Elevator1"],Passengers:[{id:shulker,NoAI:1,Silent:1,Invulnerable:1}]}
/execute at @e[type=minecraft:armor_stand,tag=down] run tp @e[type=minecraft:armor_stand,tag=down] ~ ~-.08 ~
/execute at @e[type=minecraft:armor_stand,tag=up] run tp @e[type=minecraft:armor_stand,tag=up] ~ ~0.08 ~
/tp @e[tag=Elevator1] 2243 -60.5 2248
/tag @e[tag=Elevator1] remove up
/tag @e[tag=Elevator1] remove down
/tag @e[tag=Elevator1] add up
/effect give @p minecraft:levitation 2 1 true
/tag @e[tag=Elevator1] add down
/execute if entity @e[tag=Elevator1, x=2243 ,y=-61.5 ,z=2248, distance=..1] run tag @e[tag=Elevator1] remove down
/execute if entity @e[tag=Elevator1, x=2243 ,y=-55.5 ,z=2248, distance=..1] run tag @e[tag=Elevator1] remove up
/execute if entity @e[tag=Elevator1, x=2243 ,y=-57 ,z=2248, distance=..1] run tag @e[tag=Elevator1] remove down
/execute if entity @e[tag=Elevator1, x=2243 ,y=-51.5 ,z=2248, distance=..1] run tag @e[tag=Elevator1] remove up