r/MinecraftCommands • Command Experienced • Aug 21 '21

Tutorial | Java A Zipline in Java Edition.

878 Upvotes

16 comments sorted by

View all comments

21

u/OnixST Command Experienced Aug 21 '21 edited Aug 22 '21

As you can probably tell, this was inspired by u/Electrical-Sun-9353's creation, I made it because there where a lot of people asking if it could be done in Java

Here are the commands for you to copy, starting from the repeating command block and going to the end of the chain:

execute as @a[tag=!zipline] at @s if block ~ ~1.8 ~ minecraft:nether_brick_fence run tag @s add zipline

(Don't forget this one is conditional \/ )

execute at @a[tag=zipline] align xyz run summon minecraft:armor_stand ~0.5 ~ ~ {Marker:1b,Tags:["zipline1"],Invisible:1b}

(Don't forget this one is conditional /\ )

effect give @a[tag=zipline] minecraft:levitation 1 255 true

execute at @e[tag=zipline1] run tp @p ~ ~ ~

execute as @e[tag=zipline1] at @s if block ~ ~2 ~1 minecraft:nether_brick_fence run tp @s ~ ~ ~0.3

execute as @e[tag=zipline1] at @s unless block ~ ~2 ~1 minecraft:nether_brick_fence run effect clear @p

execute as @e[tag=zipline1] at @s unless block ~ ~2 ~1 minecraft:nether_brick_fence run tag @p remove zipline

execute as @e[tag=zipline1] at @s unless block ~ ~2 ~1 minecraft:nether_brick_fence run kill @s

0

u/[deleted] Aug 22 '21

[deleted] — view deleted comment

10

u/OnixST Command Experienced Aug 22 '21

Yes, I made it in 1.17.1, but I think it works in any version from 1.13 and above

2

u/Electrical-Sun-9353 Addon Creator + Commanderer Aug 22 '21

I found this really cool, and hopefully you don't mind me linking this in my zipline when someone asks how to do it for Java.

1

u/OnixST Command Experienced Aug 22 '21

Thanks!

And yes, you can link to this post :)

1

u/RedditIsKindaNice Command Rookie Aug 23 '21

This is amazing!

Maybe you could do it multi directional by the direction the player is facing?

But otherwise so cool...

2

u/OnixST Command Experienced Aug 23 '21

Great idea! I completely forgot I could do that, and wouldn't even be that much more complicated. I wonder if I should do another post