Create Ore Excavation

Create Ore Excavation

8M Downloads

[Fabric 1.20.1] Unable to find modded biomes with a biomewhitelist in KubeJS

DCobley opened this issue ยท 2 comments

commented

Ive been unable to find modded biomes with a biomewhitelist in KubeJS, I believe im doing it correctly but havent had much success with it. Ive been attempting specifically to get a Terralith biome (Yellowstone).

If I simply use minecraft:in_overworld I am able to get all those modded biomes, just not individually.

event.recipes.createoreexcavation.vein('{"text": "Calcite"}', 'minecraft:calcite').placement(128, 64, 5552352).veinSize(3, 8.5).biomeWhitelist('terralith:yellowstone').id("kubejs:calcite_vein")

image

commented

Thank you, I suppose I shouldve looked more deeply into the kubejs documentation first. Sorry to bother!

commented

Create a custom biome tag with a single biome and use that in the recipe.

ServerEvents.tags('worldgen/biome', event => {
	event.add('kubejs:yellowstone', 'terralith:yellowstone')
})
event.recipes.createoreexcavation.vein('{"text": "Calcite"}', 'minecraft:calcite').placement(128, 64, 5552352).veinSize(3, 8.5).biomeWhitelist('kubejs:yellowstone').id("kubejs:calcite_vein")