Realistic Ore Veins

Realistic Ore Veins

310k Downloads

Biome Matching 1.12

Minecr4ck opened this issue ยท 0 comments

commented

Hello!
I THINK I am getting a "matchesBiome" crash. Using 1.12 version 2.0.15.
I mostly want to use Biome tags, with some specific biome names.
My question.. I saw in your 1.15 documentation that TAGS are required, but do not see any mention of this for 1.12. Does the same go for 1.12?

1.15 your example
"biomes": [
{"type": "tag", "biomes": "hot"},
{"type": "tag", "biomes": "dry"}

1.12 your example
"biomes": [
"mountain",
"cold",
"extreme_hills",
"extreme_hills_with_trees",
"mutated_extreme_hills",
"mutated_extreme_hills_with_trees"
]
In your 1.12 example, it appears that both tags and names are grouped together. Has this changed for 1.12 or just 1.15?

(from my file)
"biomes": [
"forest",
"mountain",
"cold",
"coniferous",
"extreme_hills_with_trees",
"mutated_extreme_hills",
"mutated_extreme_hills_with_trees"
]
OR..(another vein entry)
"biomes": [
"desert",
"hot",
"mesa"
]
I'm guessing I can't intermix both biome names and tags?

Thanks for your help!

Crash snipet
java.lang.NullPointerException: null
at com.alcatrazescapee.oreveins.api.AbstractVeinType.matchesBiome(AbstractVeinType.java:134) ~[AbstractVeinType.class:?]
at com.alcatrazescapee.oreveins.world.WorldGenVeins.generate(WorldGenVeins.java:113) ~[WorldGenVeins.class:?]
at com.alcatrazescapee.oreveins.world.WorldGenVeins.generate(WorldGenVeins.java:100) ~[WorldGenVeins.class:?]
at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:167) ~[GameRegistry.class:?]
at net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1020) ~[axw.class:?]
at net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:999) ~[axw.class:?]
at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:157) ~[on.class:?]
at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:344) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:210) ~[chd.class:?]
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:233) ~[chd.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]