Create Ore Excavation

Create Ore Excavation

10M Downloads

Dimension whitelist

CorneliusCornbread opened this issue ยท 4 comments

commented

At the current moment it's actually impossible to add ore veins to certain mod's dimensions, as they don't include tags exclusive to the dimension. For example, Ad Astra provides no dimension specific tags for its planets and moons, which makes it impossible to add ore veins to only these dimensions.

A .dimensionWhitelist() function would be massively helpful and solve this problem. Especially since most of these dimensions are actually all one biome anyways.

commented

If the mods use their own biomes you can just create a custom tag for them and use that in .biomeWhitelist.

According to the KubeJS documentation this just isn't possible. This would require writing an entire jar mod to achieve.

commented

Biome tags are a datapack feature. Where are you seeing that's not possible?

EDIT: I just checked a 1.21.1 instance and the ServerEvents.tags event supports biome tags.

commented

If the mods use their own biomes you can just create a custom tag for them and use that in .biomeWhitelist.

commented

Biome tags are a datapack feature. Where are you seeing that's not possible?

EDIT: I just checked a 1.21.1 instance and the ServerEvents.tags event supports biome tags.

I can confirm that KubeJS can edit biome tags on 1.20.1 as well. I removed AE2 meteors from all Overworld biomes and added them to certain End biomes as part of my modpack progression just fine. Should be able to do something like that here as well I would think.