Advertisement
sora200507

Untitled

Dec 30th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. # NewItems
  2.  
  3. command /spawnegg <text>:
  4. aliases: egg
  5. description: 既存のスポーンエッグでは召喚できないモブのスポーンエッグを召喚します
  6. usage: /spawnegg <irongolem | igolem> or <snowgolem | sgolem>
  7. permission: spawnegg.get
  8. trigger:
  9. if player has permission "spawnegg.get":
  10. if arg is "irongolem" or "igolem":
  11. give player spawn egg named "スポーン アイアンゴーレム"
  12. if arg is "snowgolem" or "sgolem":
  13. give player spawn egg named "スポーン スノーゴーレム"
  14. else:
  15. message "スポーンエッグを受け取る権限を持っていません"
  16. on rightclick:
  17. player's tool is spawn egg
  18. Name of player's tool is "スポーン アイアンゴーレム"
  19. if player has permission "spawnegg.irongolem":
  20. set {_location} to the targeted block of player
  21. spawn 1 iron golems at {_location}
  22. else:
  23. message "スポーンエッグを使える権限を持っていません"
  24.  
  25. on rightclick:
  26. player's tool is spawn egg
  27. Name of player's tool is "スポーン スノーゴーレム"
  28. if player has permission "spawnegg.snowgolem":
  29. set {_location} to the targeted block of player
  30. spawn 1 snow golems at {_location}
  31. else:
  32. message "スポーンエッグを使える権限を持っていません"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement