Animefan8888 Posted July 30, 2016 Share Posted July 30, 2016 Could I get the crash report? Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
Animefan8888 Posted July 30, 2016 Share Posted July 30, 2016 Does this method exist in ChunkProvider if not I have an older version of 1.8 I'm viewing. public List func_177458_a(EnumCreatureType p_177458_1_, BlockPos p_177458_2_); Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
Dizzlepop12 Posted July 30, 2016 Author Share Posted July 30, 2016 Could I get the crash report? It's crashing due to the Nether being unregistered after it's being added in Dimension helper. So basically it's crashing because the vanilla Nether hasn't been unregistered yet and it's using the same ID as the new one. Quote Link to comment Share on other sites More sharing options...
Dizzlepop12 Posted July 30, 2016 Author Share Posted July 30, 2016 Does this method exist in ChunkProvider if not I have an older version of 1.8 I'm viewing. public List func_177458_a(EnumCreatureType p_177458_1_, BlockPos p_177458_2_); The method does exist, but it's changed to: public List<BiomeGenBase.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos) Quote Link to comment Share on other sites More sharing options...
Animefan8888 Posted July 30, 2016 Share Posted July 30, 2016 Ok how about we try something, just create a list of your entitys and pass them in there to see if it is getting called. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
LogicTechCorp Posted July 30, 2016 Share Posted July 30, 2016 I have done a similar thing in my mod. I overrode the Nether to allow biomes. Maybe it could help you. Where I replace the WorldProvider: https://github.com/LogicTechCorp/NetherEx/blob/1.10.2/src/main/java/nex/NetherEx.java#L55 WorldProvider class: https://github.com/LogicTechCorp/NetherEx/blob/1.10.2/src/main/java/nex/world/WorldProviderNether.java ChunkProvider class: https://github.com/LogicTechCorp/NetherEx/blob/1.10.2/src/main/java/nex/world/gen/ChunkProviderNether.java Quote Link to comment Share on other sites More sharing options...
Dizzlepop12 Posted July 30, 2016 Author Share Posted July 30, 2016 I have done a similar thing in my mod. I overrode the Nether to allow biomes. Maybe it could help you. Where I replace the WorldProvider: https://github.com/LogicTechCorp/NetherEx/blob/1.10.2/src/main/java/nex/NetherEx.java#L55 WorldProvider class: https://github.com/LogicTechCorp/NetherEx/blob/1.10.2/src/main/java/nex/world/WorldProviderNether.java ChunkProvider class: https://github.com/LogicTechCorp/NetherEx/blob/1.10.2/src/main/java/nex/world/gen/ChunkProviderNether.java I've attempted to do the same thing, but ObfuscationReflectionHelper and DimensionType don't exist in 1.8.9. Is there some sort of alternative? Quote Link to comment Share on other sites More sharing options...
Animefan8888 Posted July 30, 2016 Share Posted July 30, 2016 No those were added in a later version. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
Dizzlepop12 Posted July 30, 2016 Author Share Posted July 30, 2016 Is there a way to set the BiomeDictionary type for a specific biome ID? Quote Link to comment Share on other sites More sharing options...
Choonster Posted July 30, 2016 Share Posted July 30, 2016 ObfuscationReflectionHelper definitely exists in 1.8.9. DimensionType was added in 1.9, the 1.8.9 equivalent is DimensionManager#registerProviderType . Use BiomeDictionary#registerBiomeType to register one or more Type s for a BiomeGenBase . Quote Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future. Link to comment Share on other sites More sharing options...
Animefan8888 Posted July 30, 2016 Share Posted July 30, 2016 He is trying to get spawnable entities in Nether biomes, and add his own to that list. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
Dizzlepop12 Posted July 30, 2016 Author Share Posted July 30, 2016 I tried using BiomeDictionary.registerBiomeType(new BiomeGenHell( 8 ), Type.NETHER); to set the biome ID to use the Nether biome type, but to no avail. http://prntscr.com/bzm7za Quote Link to comment Share on other sites More sharing options...
Choonster Posted July 30, 2016 Share Posted July 30, 2016 Why are you creating a new instance of BiomeGenHell instead of using the existing one stored in BiomeGenBase#hell ? Looking at BiomeDictionary , this is already registered with Type.NETHER by default. Quote Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future. Link to comment Share on other sites More sharing options...
Dizzlepop12 Posted July 30, 2016 Author Share Posted July 30, 2016 Why are you creating a new instance of BiomeGenHell instead of using the existing one stored in BiomeGenBase#hell ? Looking at BiomeDictionary , this is already registered with Type.NETHER by default. Okay, this fixed the issue. Thanks so much! I also removed the unregisterDimension and registerDimension lines because they were unnecessary. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.