-
Notifications
You must be signed in to change notification settings - Fork 324
Open
Labels
1.20.1type: featureNew feature or request bundled for a 0.X.0 UpdateNew feature or request bundled for a 0.X.0 Update
Description
Cross-mod Integration
No response
Minecraft Version
1.20.1 Forge
Feature Description
I want to be able to make recipes only run if the current biome matches a biome tag. Right now, you can only match for biome IDs, but in this case I want to make a recipe that works in any biome with the #minecraft:is_ocean tag. If I put the tag in with the "#" symbol, it produces this error: Could not create ID from '#minecraft:is_ocean'!: Non [a-z0-9_.-] character in namespace of location: #minecraft:is_ocean. If I don't use the symbol, it takes it as a literal biome called "is_ocean" which does not exist.
Here is my recipe code:
event.recipes.gtceu
.fluid_drilling(`salt_water_drilling`)
.notConsumable("immersiveengineering:fluid_pump")
.outputFluids("kubejs:salt_water 500")
.dimension("minecraft:overworld")
.biome("minecraft:is_ocean")
.duration(10)
.EUt(128);
Metadata
Metadata
Assignees
Labels
1.20.1type: featureNew feature or request bundled for a 0.X.0 UpdateNew feature or request bundled for a 0.X.0 Update