Fixed BiomeProvider.getModdedBiomeGenerators method name. Closes #2937

This commit is contained in:
LexManos 2016-06-03 19:00:02 -07:00
parent 35cd9fe212
commit 13b820fde2

View file

@ -20,7 +20,7 @@
{
this();
GenLayer[] agenlayer = GenLayer.func_180781_a(p_i45744_1_, p_i45744_3_, p_i45744_4_);
+ agenlayer = getModdedBiomeerators(p_i45744_3_, p_i45744_1_, agenlayer);
+ agenlayer = getModdedBiomeGenerators(p_i45744_3_, p_i45744_1_, agenlayer);
this.field_76944_d = agenlayer[0];
this.field_76945_e = agenlayer[1];
}
@ -29,7 +29,7 @@
this.field_76942_f.func_76838_a();
}
+
+ public GenLayer[] getModdedBiomeerators(WorldType worldType, long seed, GenLayer[] original)
+ public GenLayer[] getModdedBiomeGenerators(WorldType worldType, long seed, GenLayer[] original)
+ {
+ net.minecraftforge.event.terraingen.WorldTypeEvent.InitBiomeGens event = new net.minecraftforge.event.terraingen.WorldTypeEvent.InitBiomeGens(worldType, seed, original);
+ net.minecraftforge.common.MinecraftForge.TERRAIN_GEN_BUS.post(event);