Do you want a custom generator with the blocks you want? Yes, you can! To enable this, simply set config.enableCustomGenerator
from false
to true
. Then, you can edit the left block, right block, and which blocks it spawns in this configuration.
For your information, you need to break a block in the middle first to make the generator work. You can use all types of blocks. If there is no block, just place one.
Enabling Custom Generator
Copy config.enableCustomGenerator = false
Copy config.enableCustomGenerator = true
Left Block and Right Block
Copy {
left_block: ["LEFT BLOCK"],
right_block: ["RIGHT BLOCK"],
under_block: [],
blocks: [
// ...
]
}
Copy {
left_block: ["minecraft:grass_block"],
right_block: ["RIGHT BLOCK"],
under_block: [],
blocks: [
// ...
]
}
Copy {
left_block: ["minecraft:grass_block"],
right_block: ["minecraft:stone"],
blocks: [
// ...
]
}
Copy {
left_block: ["minecraft:grass_block"],
right_block: ["minecraft:stone"],
under_block: ["netherite_block"],
blocks: [
// ...
]
}
Copy config.customGenerator = [
{
left_block: ["minecraft:stone"],
right_block: ["minecraft:dripstone_block"],
under_block: [],
blocks: [
{ identifier: "stone", chance: 14 },
{ identifier: "coal_block", chance: 13 },
{ identifier: "iron_block", chance: 13 },
{ identifier: "copper_block", chance: 12 },
{ identifier: "gold_block", chance: 11 },
{ identifier: "redstone_block", chance: 11 },
{ identifier: "lapis_block", chance: 11 },
{ identifier: "diamond_block", chance: 10 },
{ identifier: "emerald_block", chance: 5 }
],
tools: [
"minecraft:iron_pickaxe",
"minecraft:gold_pickaxe",
"minecraft:diamond_pickaxe",
"minecraft:netherite_pickaxe",
]
},
{
left_block: ["minecraft:flowing_water", "minecraft:water", "WATERLOGGED"],
right_block: ["minecraft:flowing_lava", "minecraft:lava"],
under_block: ["minecraft:netherite_block"],
blocks: [
{ identifier: "stone", chance: 20 },
{ identifier: "iron_block", chance: 20 },
{ identifier: "gold_block", chance: 17.5 },
{ identifier: "diamond_block", chance: 17.5 },
{ identifier: "emerald_block", chance: 15 },
{ identifier: "netherite_block", chance: 10 }
],
tools: [
"minecraft:iron_pickaxe",
"minecraft:gold_pickaxe",
"minecraft:diamond_pickaxe",
"minecraft:netherite_pickaxe",
]
}
]