Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hey guys! These commands are for people who really really want to make their own custom dungeons. Here are some working commands which can help you!
- ================================================================================================================
- <NATURAL SPAWNING>
- These commands summon in a "customTerrain" armor stand 32 blocks apart from each other. Probably a good idea to put this on a slow clock!
- /execute @a ~ ~ ~ /execute @e[name=customTerrain] ~ ~ ~ detect ~ ~ ~ bedrock 0 /fill ~ ~ ~ ~ ~ ~ obsidian 0 replace bedrock
- /execute @a ~ 0 ~ /execute @e[name=customTerrain,r=80] ~ ~ ~ detect ~32 ~ ~ bedrock 0 /summon ArmorStand ~32 ~ ~
- {CustomName:"customTerrain",NoGravity:1,Invulnerable:1}
- /execute @a ~ ~ ~ /execute @e[name=customTerrain] ~ ~ ~ detect ~ ~ ~ bedrock 0 /fill ~ ~ ~ ~ ~ ~ obsidian 0 replace bedrock
- /execute @a ~ 0 ~ /execute @e[name=customTerrain,r=80] ~ ~ ~ detect ~-32 ~ ~ bedrock 0 /summon ArmorStand ~-32 ~ ~ {CustomName:"customTerrain",NoGravity:1,Invulnerable:1}
- /execute @a ~ ~ ~ /execute @e[name=customTerrain] ~ ~ ~ detect ~ ~ ~ bedrock 0 /fill ~ ~ ~ ~ ~ ~ obsidian 0 replace bedrock
- /execute @a ~ 0 ~ /execute @e[name=customTerrain,r=80] ~ ~ ~ detect ~ ~ ~32 bedrock 0 /summon ArmorStand ~ ~ ~32 {CustomName:"customTerrain",NoGravity:1,Invulnerable:1}
- /execute @a ~ ~ ~ /execute @e[name=customTerrain] ~ ~ ~ detect ~ ~ ~ bedrock 0 /fill ~ ~ ~ ~ ~ ~ obsidian 0 replace bedrock
- /execute @a ~ 0 ~ /execute @e[name=customTerrain,r=80] ~ ~ ~ detect ~ ~ ~-32 bedrock 0 /summon ArmorStand ~ ~ ~-32 {CustomName:"customTerrain",NoGravity:1,Invulnerable:1}
- /execute @a ~ ~ ~ /execute @e[name=customTerrain] ~ ~ ~ detect ~ ~ ~ bedrock 0 /fill ~ ~ ~ ~ ~ ~ obsidian 0 replace bedrock
- /execute @a ~ 0 ~ /execute @e[name=customTerrain,r=80] ~ ~ ~ detect ~ ~ ~ barrier 0 /kill @e[name=customTerrain,r=0]
- /execute @a ~ ~ ~ /execute @e[name=customTerrain] ~ ~ ~ /fill ~ ~ ~ ~ ~ ~ barrier 0 replace obsidian
- ================================================================================================================
- ================================================================================================================
- <SPAWNING IN THE DUNGEON (easy method)>
- These commands summon in ONE structure block at a specific location.
- /execute @e[name=customTerrain] ~ ~ ~ detect ~ 56 ~ stone 1 /summon ArmorStand ~ 56 ~ {CustomName:"dungeon1",NoGravity:1,Invulnerable:1}
- /execute @e[name=customTerrain] ~ ~ ~ detect ~ 56 ~ stone 1 /setblock ~ 56 ~ stone 0
- /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1a"}
- /execute @e[name=dungeon1] ~ ~ ~ /setblock ~ ~1 ~ redstone_block
- /kill @e[name=dungeon1]
- ================================================================================================================
- ================================================================================================================
- ================================================================================================================
- <SPAWNING IN THE DUNGEON (super dooper complex method, do not read this unless you understood the other stuff)>
- These commands summon in many many many structure blocks randomly. Do not forget to add any scoreboard objectives that might be listed here =)
- Terms:[
- R: = "repeating command"
- COND: = "conditional command"
- R:COND: "repeating conditional command"
- ]
- ================================================================================================================
- /execute @e[name=customTerrain] ~ ~ ~ detect ~ 56 ~ stone 1 /summon ArmorStand ~ 56 ~ {CustomName:"dungeon1",NoGravity:1,Invulnerable:1}
- /execute @e[name=customTerrain] ~ ~ ~ detect ~ 56 ~ stone 1 /setblock ~ 56 ~ stone 0
- R:/testfor @e[name=dungeon1]
- R:COND:/execute @r[type=ArmorStand,name=dungeon1] ~ ~ ~ /summon ArmorStand ~9 ~ ~ {CustomName:"dungeon1",NoGravity:1,Invulnerable:1}
- /execute @r[type=ArmorStand,name=dungeon1] ~ ~ ~ /summon ArmorStand ~-9 ~ ~ {CustomName:"dungeon1",NoGravity:1,Invulnerable:1}
- /execute @r[type=ArmorStand,name=dungeon1] ~ ~ ~ /summon ArmorStand ~ ~ ~9 {CustomName:"dungeon1",NoGravity:1,Invulnerable:1}
- /execute @r[type=ArmorStand,name=dungeon1] ~ ~ ~ /summon ArmorStand ~ ~ ~-9 {CustomName:"dungeon1",NoGravity:1,Invulnerable:1}
- /scoreboard players tag @r[type=ArmorStand,name=dungeon1,c=2] add safe
- /kill @e[name=dungeon1,tag=!safe]
- /scoreboard players tag @e[tag=safe] remove safe
- /scoreboard players add structure rand 1
- /scoreboard players test structure rand 12
- COND: /scoreboard players set structure rand 0
- /scoreboard players test structure rand 1 1
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1a"}
- /scoreboard players test structure rand 2 2
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1b"}
- /scoreboard players test structure rand 3 3
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1c"}
- /scoreboard players test structure rand 4 4
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1d"}
- /scoreboard players test structure rand 5 5
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1e"}
- /scoreboard players test structure rand 6 6
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1f"}
- /scoreboard players test structure rand 7 7
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1g"}
- /scoreboard players test structure rand 8 8
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1h"}
- /scoreboard players test structure rand 9 9
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1i"}
- /scoreboard players test structure rand 10 10
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1j"}
- /scoreboard players test structure rand 11 11
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1k"}
- /scoreboard players test structure rand 12 12
- COND: /execute @e[type=ArmorStand,name=dungeon1] ~ ~ ~ /setblock ~ ~ ~ structure_block 0 replace {mode:"LOAD",name:"dungeon1l"}
- /execute @e[name=dungeon1] ~ ~ ~ /setblock ~ ~1 ~ redstone_block
- /scoreboard players add structureLife rand 1
- /scoreboard players test structureLife rand 15
- COND: /scoreboard players set structureLife rand 0
- COND: /kill @e[name=dungeon1]
- ================================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment