Well see these biomes are for my new dimension so i am writing a new ChunkProvider. Now I almost have it complete. I have 2 more errors before i could test if casting the data to (short) instead of (byte).
How would i go about solving those errors below (I commented them on what I need to fix.)
public Chunk provideChunk(int var1, int var2)
{
this.rand.setSeed((long)var1 * 341873128712L + (long)var2 * 132897987541L);
byte[] var3 = new byte[32768];
//Line Below needs to be casted to BiomeGenBase and not my Custom BiomeGenBase
this.biomesForGeneration = this.worldObj.getWorldChunkManager().loadBlockGeneratorData(this.biomesForGeneration, var1 * 16, var2 * 16, 16, 16);
this.generateTerrain(var1, var2, var3, biomesForGeneration, generatedTemperatures);
this.replaceBlocksForBiome(var1, var2, var3, this.biomesForGeneration); //Needs this.biomesForGeneration to be resolved
this.caveGenerator.generate(this, this.worldObj, var1, var2, var3);
Chunk var5 = new Chunk(this.worldObj, var3, var1, var2);
byte[] var6 = var5.getBiomeArray();
for (int var7 = 0; var7 < var6.length; ++var7)
{
var6[var7] = (byte)this.biomesForGeneration[var7].biomeID;
}
var5.generateSkylightMap();
return var5;
}
Should I just create another class that extends World specifying to just my custom BiomeGenBase instead of Minecraft's BiomeGenBase class?