Posted January 5, 20214 yr As the title suggests, my game lagged and outputted following message: "[m[33m[21:07:58] [Render thread/WARN] [minecraft/BiomeContainer]: Received invalid biome id: -1" So, here is my github repo: https://github.com/Budschie/Deepnether-Mod/tree/1.16.3. I hope you can help me with this issue. -Budschie Edited January 5, 20214 yr by Budschie
January 5, 20214 yr You have two biomes. I only see one being registered: https://github.com/Budschie/Deepnether-Mod/blob/1.16.3/src/main/java/de/budschie/deepnether/biomes/BiomeRegistry.java#L19 Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 6, 20214 yr Author @Draco18s You probably mean these lines: BiomeDataHandler.addBiomeData(new ResourceLocation(References.MODID, "green_forest_biome"), new GreenForestBiomeData()); BiomeDataHandler.addBiomeData(new ResourceLocation(References.MODID, "deepnether"), new DeepnetherBiomeData()); But those aren't biome initalizations or anything like that, those are adding a key and data to a list. This list is then being accessed by my chunk generator to read additional information about the biome. There is no need to register a biome named "deepnether:deepnether", as this simply means that the netry in the second line is never used.
January 6, 20214 yr Nothing about that method registers the biome with the game. https://github.com/Budschie/Deepnether-Mod/blob/1.16.3/src/main/java/de/budschie/deepnether/biomes/biome_data_handler/BiomeDataHandler.java#L13 Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 7, 20214 yr Author @Draco18s But shouldn't this be enough to register a biome: https://github.com/Budschie/Deepnether-Mod/blob/1.16.3/src/main/java/de/budschie/deepnether/biomes/BiomeRegistry.java#L19 https://github.com/Budschie/Deepnether-Mod/blob/1.16.3/src/main/java/de/budschie/deepnether/main/DeepnetherMain.java#L72 Or do I have to do more to register a biome? Edited January 7, 20214 yr by Budschie
January 7, 20214 yr 39 minutes ago, Budschie said: But shouldn't this be enough to register a biome: Yes, that works to register a biome. Or it should, based on what little I know about biomes. But it is only registering one biome ("green_forest_biome") but you have two biomes ("green_forest_biome" and "deepnether"). And as you did not include any more of your log than "there was an unregistered biome" I have to conclude that you attempted to reference your deepnether biome which wasn't registered. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 8, 20214 yr Author @Draco18s But I only use one biome, which is the "green_forest_biome": https://github.com/Budschie/Deepnether-Mod/blob/1.16.3/src/main/java/de/budschie/deepnether/dimension/DeepnetherBiomeProvider.java#L34 Edited January 8, 20214 yr by Budschie
January 8, 20214 yr Then I don't know. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 9, 20214 yr Author Is there any good source I can refer to if I want to create(and register) a biome in 1.16.3?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.