Advertisement
Kusa_Haenai_wWW

Untitled

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