Advertisement
Jragon014

1.10 Double Jumping

Aug 1st, 2016
3,059
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. ----Double Jumping Commands----
  2.  
  3. ---Initial Commands----
  4.  
  5. /scoreboard objectives add jump stat.jump
  6.  
  7. /scoreboard objectives add timer dummy
  8.  
  9. /scoreboard players set @a jump 0
  10.  
  11. ---Repeating Chain-----
  12.  
  13. /execute @a[score_jump_min=1,score_jump=1] ~ ~ ~ detect ~ ~-0.99 ~ air 0 /summon ArmorStand ~ ~-0.99 ~ {CustomName:"double_jump",NoGravity:1,Invulnerable:1,Invisible:1,Marker:1b}
  14.  
  15. /execute @e[name=double_jump] ~ ~ ~ /fill ~ ~ ~ ~ ~ ~ barrier 0 keep
  16.  
  17. /execute @e[name=double_jump,score_timer_min=10] ~ ~ ~ /fill ~ ~ ~ ~ ~ ~ air 0 replace barrier
  18.  
  19. /execute @e[name=double_jump,score_timer_min=10] ~ ~ ~ /scoreboard players set @p jump 0
  20.  
  21. /kill @e[name=double_jump,score_timer_min=10]
  22.  
  23. /scoreboard players add @e[name=double_jump] timer 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement