Generator Blocks and Chances

You can add or remove which blocks will spawn in this configuration. To find block identifier you can use /setblock command

config.blocks = [
	{ identifier: "cobblestone", chance: 14 },
	{ identifier: "coal_ore", chance: 13 },
	{ identifier: "iron_ore", chance: 13 },
	{ identifier: "copper_ore", chance: 12 },
	{ identifier: "gold_ore", chance: 11 },
	{ identifier: "redstone_ore", chance: 11 },
	{ identifier: "lapis_ore", chance: 11 },
	{ identifier: "diamond_ore", chance: 10 },
	{ identifier: "emerald_ore", chance: 4 },
	{ identifier: "ancient_debris", chance: 1 }
]

Example

Make the generator only spawn dirt, grass block, cobblestone and stone

config.blocks = [
	{ identifier: "dirt", chance: 25 },
	{ identifier: "grass_block", chance: 25 },
	{ identifier: "cobblestone", chance: 25 },
	{ identifier: "stone", chance: 25 }
]

Make dirt more higher chance to spawn by increasing the chance

config.blocks = [
	{ identifier: "dirt", chance: 50 },
	{ identifier: "grass_block", chance: 30 },
	{ identifier: "cobblestone", chance: 10 },
	{ identifier: "stone", chance: 10 }
]

Last updated