coolsa / Biospheres

Minecraft biospheres for minecraft version 1.16.1 using fabric.
GNU General Public License v3.0
0 stars 6 forks source link

Fix Log Spam #11

Closed coolsa closed 3 years ago

coolsa commented 3 years ago

Currently, due to MC-197616, "Received invalid biome id: -1" is constantly spammed in the console while generating new chunks. I would like to fix this issue before publishing 1.16.4 on curseforge.

coolsa commented 3 years ago

Solved with new implementation of BiomeSource, in the dev branch. Solution for onlookers: don't pass biomes via BuiltInBiomes.BIOME_TYPE, instead pass biomes via a Registry<Biome> variable, and calling the biome with its BiomeKey, such as registry.get(BiomeKeys.THE_VOID) This is how biomes should be accessed in Minecraft.