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