Everything posted by Dizzlepop12
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Is there a way to set the BiomeDictionary type for a specific biome ID?
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
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?
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
The method does exist, but it's changed to: public List<BiomeGenBase.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
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.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
It seems to crash if I do that. I tried putting the addSpawns and init above the unregisters, but that caused it to crash also. The only way to prevent it from crashing is if I put the unregisterDimension and unregisterProvider below the addSpawns and init from the DimensionHelper... http://prntscr.com/bzeve5 It's like a never ending paradox... Edit: Other mobs spawn if I put addSpawns before the unregistering of the Nether, but mobs still don't spawn in the Nether, which leads me to believe the issue lies somewhere else.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
They were spawning before I tried override the Nether. I tried moving the addSpawns to the top of preInit so it would get registered first, but that caused all mobs in the mod to not spawn. I then tried arranging it like so: http://prntscr.com/bzerc1 but that wouldn't work either.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Is that something that I need to do? Do I need to register it like you would if it was a biome? I don't 100% understand.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Yes they are.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
They are spawned using BiomeDictionary, but not registered.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
This is where the mobs are set to spawn: https://github.com/Dizzlepop12/Journey/blob/master/main/java/net/journey/dimension/DimensionHelper.java#L268-L273 WorldProvider again: https://github.com/Dizzlepop12/Journey/blob/ab6bc84ab53a4244bd50800f47f8db6052f642b9/main/java/net/journey/dimension/nether/WorldProviderNetherJourney.java ChunkProvider again: https://github.com/Dizzlepop12/Journey/blob/0eeeae05436d8a5530dda56e9ce0e8ad7c2fc2cf/main/java/net/journey/dimension/nether/ChunkProviderNether.java Natura seems to spawn it's entities the exact same way, so not sure why it's not working for me anymore.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
I have one last problem though; It seems that my Nether mobs aren't spawning at all, which is weird because I used the BiomeDictionary.getBiomesForType() method, with the type being Type.NETHER. This worked in the past, but it won't work now. I'm sure I could find a loophole somewhere to fix this, but it would make the Nether incompatible with other mods that add entities to the Nether, and only the mobs in my mod would be able to spawn there.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
It works wonderfully, thank you! Do you know how I could get a certain set of blocks to generate below a certain level in the Nether, like Natura's Tainted Soil? I'm not fond of chunk providers, so I'm a little stuck here. I already successfully achieved it by using worldGenMinable and generating large amounts of blocks below a certain level, but this results in a lot of lag. The main reason I'm creating a new ChunkProvider is so I can fix this and have a lag-free solution.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
The class and method have a different name but it has the same variables. What do I use for the provider type? Do I even need this if I already set the WorldProvider in the DimensionHelper class?
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
How might I do that?
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Just about all mods that change the Nether's generation in some way unregister the Nether and recreate the entire dimension using the same ID, BoP is a good example of this. I'm just not sure what other steps need to be made. If I unregister the dimension and don't do anything else, the Nether portal does not work (which means unregistering the dimension is possible without having any issues). But if I try re-adding the dimension, it uses the standard ChunkProvider instead of the custom one I created. I believe the issue has to do with the original ChunkProvider being re-initialized once the DimensionHelper class is loaded, but I'm not sure how to fix that.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Hi! I'm trying to unregister the Nether dimension ID and create a new dimension with the same chunk provider, but with some minor edits. I've done just that, but the Nether is still using the same default chunk provider instead of the one I set it to use. I basically replaced all Netherrack with Bedrock as a test to see if it would work, but it's still Netherrack. PreInit(Un-register the Nether dimension ID): https://github.com/Dizzlepop12/Journey/blob/b1c0b5ffad4da86f12dfec5820a59f10cce16012/main/java/net/journey/proxy/CommonProxy.java#L47 DimensionHelper(To register the new dimension, line 130 and 145): https://github.com/Dizzlepop12/Journey/blob/b1c0b5ffad4da86f12dfec5820a59f10cce16012/main/java/net/journey/dimension/DimensionHelper.java#L130 New ChunkProvider(Changes Netherrack to Bedrock as a test): https://github.com/Dizzlepop12/Journey/blob/81c781ef9081752c23de41a0bcae190e9e6ae640/main/java/net/journey/dimension/nether/ChunkProviderNether.java New WorldProvider(Essentially the same, but replaces the ChunkProvider with the new one): https://github.com/Dizzlepop12/Journey/blob/b1c0b5ffad4da86f12dfec5820a59f10cce16012/main/java/net/journey/dimension/nether/WorldProviderNetherJourney.java Thanks, -Ryan
IPS spam blocked by CleanTalk.