Advertisement
tatsu0123

カスタムクラフト

Sep 25th, 2014
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. クラフティングテーブルの準備
  2. /setblock [クラフト用ドロッパーを設置したい座標] dropper 0 false {CustomName:"スペシャルクラフト"}
  3. このドロッパーの下に線路を敷いて
  4. /summon MinecartRideable [クラフト用ドロッパーの座標よりy-1] {CustomDisplayTile:1,DisplayTile:crafting_table,DisplayOffset:40,CustomName:CraftingTable}
  5.  
  6. スコアの準備
  7. /scoreboard objectives add Crafting dummy Crafting
  8. /scoreboard players set @e[type=MinecartRideable,name=CraftingTable] Crafting 0
  9. /stats entity @e[type=MinecartRideable,name=CraftingTable] set SuccessCount @e[type=MinecartRideable,name=CraftingTable,score_Crafting_min=0,r=0] Crafting
  10.  
  11. 予めレシピ用ドロッパー、完成用ドロッパーをどこかに置いておく
  12. ※ドロッパーを設置する時は先程のコマンドを使用
  13.  
  14. クロック回路
  15. 動作順に
  16. /execute @e[type=MinecartRideable,name=CraftingTable] ~ ~ ~ /testforblocks [レシピ用ドロッパーの座標] ~ ~1 ~
  17. /execute @e[type=MinecartRideable,name=CraftingTable,score_Crafting_min=1] ~ ~ ~ /clone [完成用ドロッパーの座標] ~ ~1 ~
  18. ※レシピを増やしたい場合はこの後に上2つのコマンドを追加していく
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement