Advertisement
nunonuno_riku

Untitled

Jul 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. on script load:
  2. register new shaped recipe for leather named "&6パラシュート" using feather, feather, feather, string, air, string, leather, leather, leather
  3.  
  4. on right click with leather:
  5. if name of held item is "&6パラシュート":
  6. if the block below the player is air:
  7. the player is not riding a chicken:
  8. remove 1 of the tool from the player
  9. spawn a chicken at the player's location
  10. set the spawned chicken's display name to "パラシュート"
  11. make the spawned chicken ride the player
  12.  
  13.  
  14. on any movement:
  15. block below player is not air:
  16. player is riding a chicken:
  17. loop chickens in radius 10 around player:
  18. if display name of loop-chicken contains "パラシュート":
  19. kill loop-chicken
  20.  
  21. on right click:
  22. if player is riding a chicken:
  23. loop all chickens in radius 5 around player:
  24. if loop-entity is chicken:
  25. push the loop-entity forwards at speed 2
  26.  
  27.  
  28. on death of chicken:
  29. if display name of event-chicken is "パラシュート":
  30. delete drops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement