Fixed the nether floor being made of grass
This commit is contained in:
parent
33b90334b4
commit
dec508a1f8
|
@ -24,7 +24,7 @@ import biomesoplenty.common.helpers.CreativeTabsBOP;
|
|||
import biomesoplenty.common.integration.TreecapitatorIntegration;
|
||||
import biomesoplenty.common.network.PacketPipeline;
|
||||
import biomesoplenty.common.utils.BOPModInfo;
|
||||
import biomesoplenty.common.world.WorldProviderBopHell;
|
||||
import biomesoplenty.common.world.WorldProviderBOPHell;
|
||||
import biomesoplenty.common.world.WorldProviderPromised;
|
||||
import biomesoplenty.common.world.WorldTypeBOP;
|
||||
import biomesoplenty.common.world.decoration.ForcedDecorators;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package biomesoplenty.common.core;
|
||||
|
||||
import static biomesoplenty.common.configuration.BOPConfigurationIDs.promisedLandDimID;
|
||||
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraft.world.biome.WorldChunkManager;
|
||||
import net.minecraftforge.common.BiomeDictionary;
|
||||
|
@ -88,6 +88,7 @@ public class BOPBiomes
|
|||
registerBiomes();
|
||||
addBiomesToDictionary();
|
||||
addSpawnBiomes();
|
||||
overrideBiomeProperties();
|
||||
}
|
||||
|
||||
private static void registerBiomes()
|
||||
|
@ -337,6 +338,12 @@ public class BOPBiomes
|
|||
BiomeDictionary.registerBiomeType(BOPBiomeHelper.get("woodland"), Type.FOREST);
|
||||
}
|
||||
|
||||
private static void overrideBiomeProperties()
|
||||
{
|
||||
BiomeGenBase.hell.topBlock = Blocks.netherrack;
|
||||
BiomeGenBase.hell.fillerBlock = Blocks.netherrack;
|
||||
}
|
||||
|
||||
public static void registerOnlyBiome(BOPBiomeEntry biome)
|
||||
{
|
||||
onlyBiome = biome;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package biomesoplenty.common.core;
|
||||
|
||||
import biomesoplenty.common.configuration.BOPConfigurationIDs;
|
||||
import biomesoplenty.common.world.WorldProviderBopHell;
|
||||
import biomesoplenty.common.world.WorldProviderBOPHell;
|
||||
import biomesoplenty.common.world.WorldProviderPromised;
|
||||
import net.minecraftforge.common.DimensionManager;
|
||||
|
||||
|
@ -21,7 +21,7 @@ public class BOPDimensions
|
|||
|
||||
private static void registerProviders()
|
||||
{
|
||||
DimensionManager.registerProviderType(-1, WorldProviderBopHell.class, true);
|
||||
DimensionManager.registerProviderType(-1, WorldProviderBOPHell.class, true);
|
||||
DimensionManager.registerProviderType(BOPConfigurationIDs.promisedLandDimID, WorldProviderPromised.class, false);
|
||||
}
|
||||
|
||||
|
|
|
@ -233,7 +233,6 @@ public class WorldChunkManagerBOPHell extends WorldChunkManager
|
|||
*/
|
||||
@Override
|
||||
@SuppressWarnings("rawtypes")
|
||||
//TODO: findBiomePosition
|
||||
public ChunkPosition findBiomePosition(int par1, int par2, int par3, List par4List, Random par5Random)
|
||||
{
|
||||
IntCache.resetIntCache();
|
||||
|
@ -263,19 +262,9 @@ public class WorldChunkManagerBOPHell extends WorldChunkManager
|
|||
return var13;
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls the WorldChunkManager's biomeCache.cleanupCache()
|
||||
*/
|
||||
@Override
|
||||
public void cleanupCache()
|
||||
{
|
||||
biomeCache.cleanupCache();
|
||||
}
|
||||
|
||||
//public GenLayer[] getModdedBiomeGenerators(WorldType worldType, long seed, GenLayer[] original)
|
||||
//{
|
||||
// WorldTypeEvent.InitBiomeGens event = new WorldTypeEvent.InitBiomeGens(worldType, seed, original);
|
||||
// MinecraftForge.TERRAIN_GEN_BUS.post(event);
|
||||
// return event.newBiomeGens;
|
||||
//}
|
||||
}
|
|
@ -4,7 +4,7 @@ import net.minecraft.world.WorldProviderHell;
|
|||
import net.minecraft.world.chunk.IChunkProvider;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
|
||||
public class WorldProviderBopHell extends WorldProviderHell
|
||||
public class WorldProviderBOPHell extends WorldProviderHell
|
||||
{
|
||||
@Override
|
||||
public void registerWorldChunkManager()
|
||||
|
|
Loading…
Reference in New Issue