Terrain Control

Terrain Control

235k Downloads

Biome Limit

Tibsfox opened this issue ยท 3 comments

commented

BukkitWorld.java
26: private static LocalBiome[] Biomes = new LocalBiome[64];

This use to be 256? was the number of total biomes reduced?

java.lang.ArrayIndexOutOfBoundsException: 64
at com.Khorn.TerrainControl.Bukkit.BukkitWorld.AddBiome(BukkitWorld.java:83)
at com.Khorn.TerrainControl.Configuration.WorldConfig.(WorldConfig.java:196)
at com.Khorn.TerrainControl.Bukkit.TCPlugin.CreateSettings(TCPlugin.java:117)
at com.Khorn.TerrainControl.Bukkit.TCPlugin.getDefaultWorldGenerator(TCPlugin.java:75)
at org.bukkit.craftbukkit.CraftServer.getGenerator(CraftServer.java:925)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)

Some example distributions as to why I think 64 is not enough.

64 translates to 32 total biomes because you have to list them under CustomBiomes:

I was using 126 custom biomes with 1.1

Please increase the total number of custom biomes, at least back to 256, or more if possible, 512 or more would be desirable.

with 64
NormalBiomes (7)
IceBiomes (4)
IsleBiomes (7)
BorderBiomes (14)
CustomBiomes (32)

with 128
NormalBiomes (14)
IceBiomes (8)
IsleBiomes (14)
BorderBiomes (28)
CustomBiomes (64)

with 256
NormalBiomes (28)
IceBiomes (16)
IsleBiomes (28)
BorderBiomes (56)
CustomBiomes (128)

commented

"640K is Enough For Anyone"...
I will fix that in next build.

commented

Fixed in 2.1.5.

commented

works, thank you kind sir.