View difference between Paste ID: vFP3JvWg and XjNf6X9A
SHOW: | | - or go back to the newest paste.
1
on rightclick:
2-
	player is riding minecart
2+
    player is riding minecart
3-
	block infront of player is stone or cobblestone
3+
    block infront of player is stone or cobblestone
4-
	push player's vehicle upward at speed 0.5
4+
    push player's vehicle upward at speed 0.5
5-
	loop blocks between block above block at player and block above the block 1 meters horizontal infront of player:
5+
    loop blocks between block above block at player and block above the block 1 meters horizontal infront of player:
6
        loop-block is air
7-
		set {_rail::%location of loop-block%} to location of loop-block
7+
        set {_rail::%location of loop-block%} to location of loop-block
8-
		set loop-block to rail
8+
        set loop-block to rail
9-
	push player's vehicle horizontal facing of player at speed 10
9+
    push player's vehicle horizontal facing of player at speed 10
10-
	wait 0.2 second
10+
    wait 0.2 second
11-
	loop {_rail::*}:
11+
    loop {_rail::*}:
12-
		set block at loop-value to air
12+
        set block at loop-value to air