MOVIE

よっしゃ、ダンジョン作る。 その3 (マイクラコマンド)

PC版(Java版)minecraftのコマンドでダンジョンを作ります!

今回作るのは拠点となる街の施設です!

ちなみに、遊園地も制作中です。

今回のコマンド
両替所の人(短いのでこの人にしました。)
/summon Armor_Stand ~ ~-0.5 ~ {NoGravity:true,Marker:true,Invisible:true,Tags:[“Shop”],Passengers:[{id:Villager,Invulnerable:true,Profession:5,Offers:{Recipes:[{rewardExp:true,maxUses:65535,uses:0,buy:{id:gold_nugget,Count:9},sell:{id:gold_ingot,Count:1}},{rewardExp:true,maxUses:65535,uses:0,buy:{id:gold_ingot,Count:9},sell:{id:gold_block,Count:1}}]},Tags:[“Shop”],CustomName:”換金します!”}],Rotation:[0.0f,0.0f]}

ドア
・リピート
/execute @e[type=Armor_Stand,tag=RedDoor] ~ ~ ~ testfor
@p[r=2] {SelectedItem:{id:”minecraft:tripwire_hook”,tag:{display:{
Name:”赤の鍵”}}}}
・コンパレータでつなぐ(インパルス)
/execute @e[type=Armor_Stand,tag=RedDoor] ~ ~ ~ setblock ~ ~ ~ iron_door 6
/execute @e[type=Armor_Stand,tag=RedDoor] ~ ~ ~ playsound minecraft:block.iron_door.open block @a ~ ~ ~ 1.0 1.0 1.0
・NOT回路でつなぐ(インパルス)
/execute @e[type=Armor_Stand,tag=RedDoor] ~ ~ ~ setblock ~ ~ ~ iron_door 2
/execute @e[type=Armor_Stand,tag=RedDoor] ~ ~ ~ playsound minecraft:block.iron_door.close block @a ~ ~ ~ 1.0 1.0 1.0

床に使うシュルカー
/summon Shulker ~ ~1 ~ {NoAI:true,Silent:true,Color:1,DeathLootTable:”minecraft:empty”,Attributes:[{Name:generic.maxHealth,Base:0.1d}],Health:0.1f}