Select Page

Spawn your structures in your world

Structure spawner

scoreboard objectives add spawn dummy
#Adds a scoreboard called spawn that can only be changed by commands

execute @e[type=pig] ~ ~ ~ scoreboard players add @r[type=pig] spawn 1
#Every pig adds 1 to the score of a random pig

execute @e[type=pig,score_spawn_min=1000] ~ ~ ~ setblock ~ ~ ~ structure_block 1
#Makes a pig with the score higher than 1000 place a structure block
execute @e[type=pig,score_spawn_min=1000] ~ ~ ~ blockdata ~ ~ ~ {mode:"LOAD",posX:0,posY:0,PosZ:0,name:"Beacon"}
#Changes the data of the structure block to a desired name/position
execute @e[type=pig,score_spawn_min=1000] ~ ~ ~ setblock ~1 ~ ~ redstone_block 1
#The pig places a redstone block to activate the structure block
execute @e[type=pig,score_spawn_min=1000] ~ ~ ~ scoreboard players set @e[type=pig] spawn 0
#Resets the score of all pigs

execute @e[type=bat] ~ ~ ~ scoreboard players add @r[type=bat] spawn 1
execute @e[type=bat,score_spawn_min=100000] ~ ~ ~ setblock ~ ~ ~ structure_block 1
execute @e[type=bat,score_spawn_min=100000] ~ ~ ~ blockdata ~ ~ ~ {mode:"LOAD",posX:0,posY:0,PosZ:0,name:"Gate"}
execute @e[type=bat,score_spawn_min=100000] ~ ~ ~ setblock ~ ~1 ~ redstone_block 1
execute @e[type=bat,score_spawn_min=100000] ~ ~ ~ scoreboard players set @e[type=bat] spawn 0
#Same thing, but with a bat and more time to wait until the structure spawns

Mountain Generator in vanilla minecraft [1.12 pre 7]

Remember to put the folder into:
•Windows path %appdata%/.minecraft/saves/yourworld/data/functions
•Apple path Application Support/minecraft/saves/yourworld/data/functions

Mountain Generator 1.1

Here are all the explenations of the settings in this custom mod:
Amount: the amount of generators that will be spawned
Time: the time that will pass until the generator despawning
Highness: the relative highness of the mountain. This is not the highness in blocks, but how high the mountain would be if there wasn't any roundness
Roundness: this is how smooth the mountain is going to be. The lowest this value is, the tallest the mountain will get
Snow Amount: how many tries of snow spawning there will be