Advertisement
Kusa_Haenai_wWW

Untitled

Apr 24th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. command /create [<text>]:
  2. trigger:
  3. if arg is not set:
  4. message "&9鉱石&aを手に持った状態で実行しましょう"
  5. message "&a/create <&9鉱石名&a>"
  6. message "&8==========&b鉱石名一覧&8=========="
  7. message "&9石炭&a,&9鉄&a,&9金&a,&9ダイヤモンド"
  8. message "&9エメラルド&a,&9ラピスラズリ"
  9. message "&9レッドストーン"
  10. message "&8==========&b鉱石名一覧&8=========="
  11. if player's tool is air:
  12. message "&9圧縮&aしたい鉱石を手に持った状態で&cコマンド&aを実行してください"
  13. if arg is "石炭":
  14. if player's tool is coal:
  15. if player has 9 coal:
  16. remove 9 coal from player
  17. give player coal block
  18. else:
  19. message "&9石炭&aが足りません"
  20. if arg is "鉄":
  21. if player's tool is iron ingot:
  22. if player has 9 iron ingot:
  23. remove 9 iron ingot from player
  24. give player iron block
  25. else:
  26. message "&9鉄&aが足りないか&c精錬&aされていません"
  27. if arg is "金":
  28. if player's tool is gold ingot:
  29. if player has 9 gold ingot:
  30. remove 9 gold ingot from player
  31. give player gold block
  32. else:
  33. message "&9金&aが足りないか&c精錬&aされていません"
  34. if arg is "ラピスラズリ":
  35. if player's tool is lapis lazuli:
  36. if player has 9 lapis lazuli:
  37. remove 9 lapis lazuli from player
  38. give player lapis block
  39. else:
  40. message "&9ラピスラズリ&aが足りません"
  41. if arg is "レッドストーン":
  42. if player's tool is redstone:
  43. if player has 9 redstone:
  44. remove 9 redstone from player
  45. give player redstone block
  46. else:
  47. message "&9レッドストーン&aが足りません"
  48. if arg is "エメラルド":
  49. if player's tool is emerald:
  50. if player has 9 emerald:
  51. remove 9 emerald from player
  52. give player emerald block
  53. else:
  54. message "&9エメラルド&aが足りません"
  55. if arg is "ダイヤモンド":
  56. if player's tool is diamond:
  57. if player has 9 diamond:
  58. remove 9 diamond from player
  59. give player diamond block
  60. else:
  61. message "&9ダイヤモンド&aが足りません"
  62.  
  63. command /uncreate [<text>]:
  64. trigger:
  65. if arg 1 is not set:
  66. message "&9鉱石ブロック&aを手に持った状態で実行しましょう"
  67. message "&a/create <&9鉱石名&a>"
  68. message "&8==========&b鉱石名一覧&8=========="
  69. message "&9石炭&a,&9鉄&a,&9金&a,&9,ダイヤモンド"
  70. message "&9エメラルド&a,&9ラピスラズリ"
  71. message "&9レッドストーン"
  72. message "&8==========&b鉱石名一覧&8=========="
  73. if player's tool is air:
  74. message "&9解凍&aしたい鉱石ブロックを手に持った状態で&cコマンド&aを実行してください"
  75. if arg is "石炭":
  76. if player's tool is coal block:
  77. if player has coal block:
  78. remove coal block from player
  79. give player 9 coal
  80. else:
  81. message "&9石炭ブロック&aが足りません"
  82. if arg is "鉄":
  83. if player's tool is iron block:
  84. if player has iron block:
  85. remove iron block from player
  86. give player 9 iron ingot
  87. else:
  88. message "&9鉄ブロック&aが足りません"
  89. if arg is "金":
  90. if player's tool is gold block:
  91. if player has gold block:
  92. remove gold block from player
  93. give player 9 gold ingot
  94. else:
  95. message "&9金ブロック&aが足りません"
  96. if arg is "ラピスラズリ":
  97. if player's tool is lapis block:
  98. if player has lapis block:
  99. remove lapis block from player
  100. give player 9 lapis lazuli
  101. else:
  102. message "&9ラピスラズリブロック&aが足りません"
  103. if arg is "レッドストーン":
  104. if player's tool is redstone block:
  105. if player has redstone block:
  106. remove redstone block from player
  107. give player 9 redstone
  108. else:
  109. message "&9レッドストーンブロック&aが足りません"
  110. if arg is "エメラルド":
  111. if player's tool is emerald block:
  112. if player has emerald block:
  113. remove emerald block from player
  114. give player 9 emerald
  115. else:
  116. message "&9エメラルドブロック&aが足りません"
  117. if arg is "ダイヤモンド":
  118. if player's tool is diamond block:
  119. if player has diamond block:
  120. remove diamond block from player
  121. give player 9 diamond
  122. else:
  123. message "&9ダイヤモンドブロック&aが足りません"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement