public static final BiomeGenBase GoldenDune = (new BiomeGenGoldenDune(6000)).setBiomeName("0");
public void load()
{
ModLoader.addBiome(GoldenDune);
}
public void generateSurface(World world, Random rand, int chunkX, int chunkZ)
{
BiomeGenBase biome = world.getWorldChunkManager().getBiomeGenAt(chunkX, chunkZ);
WorldGenBigTree tree = new WorldGenBigTree(false);
if(biome instanceof BiomeGenGoldenDune)
{
for(int x = 0; x < 8; x++)
{
tree = new WorldGenBigTree(false);
int Xcoord = chunkX + rand.nextInt(16);
int Zcoord = chunkZ + rand.nextInt(16);
int i = world.getHeightValue(Xcoord, Zcoord);
tree.generate(world, rand, Xcoord, i, Zcoord);
}
}
}
public String getVersion()
{
return "3.14159265";
}
}
---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 12-12-26 12:26
Description: Exception occured in ModLoader
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:395)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1406)
at net.minecraft.src.ModLoader.init(ModLoader.java:952)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:190)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:93)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:421)
at net.minecraft.src.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:41)
at net.minecraft.client.Minecraft.run(Minecraft.java:741)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6000
at net.minecraft.src.BiomeGenBase.<init>(BiomeGenBase.java:136)
at net.minecraft.src.BiomeGenGoldenDune.<init>(BiomeGenGoldenDune.java:7)
at net.minecraft.src.mod_BiomeTest.<clinit>(mod_BiomeTest.java:7)
... 16 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_04, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 992206552 bytes (946 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.4.6
mod_BiomeTest
Its suppose to add more biome and a few block
The problem is that paulscode say me that there is a bug every time I try to launch the game but i havent add block yet
1.) Do you know what Mindcrack is? : Yes I know! 2.) Have you ever played a server like it? : No, I tried to find one a long time ago 3.) Do you have skype? Are you willing to skype with other server members? : I could and i have skype 4.) How old are you? : 16 years old 5.) Do you plan on recording videos on the Server? (Yes or no is fine, no big deal) : I can't realy now but later maybe! 6.) What are your plans on the server or ideas you have? : My idea is, Survive 7.) IGN so I can whitelist you : Shad_Star
0
I already did the model!
Oh and I would name it Creepi!
0
why?
1
0
0
0
mod_BiomeTest
import java.util.Random;
public class mod_BiomeTest extends BaseMod
{
public static final BiomeGenBase GoldenDune = (new BiomeGenGoldenDune(6000)).setBiomeName("0");
public void load()
{
ModLoader.addBiome(GoldenDune);
}
public void generateSurface(World world, Random rand, int chunkX, int chunkZ)
{
BiomeGenBase biome = world.getWorldChunkManager().getBiomeGenAt(chunkX, chunkZ);
WorldGenBigTree tree = new WorldGenBigTree(false);
if(biome instanceof BiomeGenGoldenDune)
{
for(int x = 0; x < 8; x++)
{
tree = new WorldGenBigTree(false);
int Xcoord = chunkX + rand.nextInt(16);
int Zcoord = chunkZ + rand.nextInt(16);
int i = world.getHeightValue(Xcoord, Zcoord);
tree.generate(world, rand, Xcoord, i, Zcoord);
}
}
}
public String getVersion()
{
return "3.14159265";
}
}
BiomeGenGoldenDune
import java.util.Random;
public class BiomeGenGoldenDune extends BiomeGenBase
{
public BiomeGenGoldenDune(int par1)
{
super(par1);
this.spawnableCreatureList.clear();
this.spawnableMonsterList.clear();
this.spawnableWaterCreatureList.clear();
this.topBlock = (byte)Block.blockGold.blockID;
this.fillerBlock = (byte)Block.blockGold.blockID;
this.minHeight = 9.0F;
this.maxHeight = 10.0F;
}
}
0
// This doesn't make any sense!
Time: 12-12-26 12:26
Description: Exception occured in ModLoader
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:395)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1406)
at net.minecraft.src.ModLoader.init(ModLoader.java:952)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:190)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:93)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:421)
at net.minecraft.src.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:41)
at net.minecraft.client.Minecraft.run(Minecraft.java:741)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6000
at net.minecraft.src.BiomeGenBase.<init>(BiomeGenBase.java:136)
at net.minecraft.src.BiomeGenGoldenDune.<init>(BiomeGenGoldenDune.java:7)
at net.minecraft.src.mod_BiomeTest.<clinit>(mod_BiomeTest.java:7)
... 16 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_04, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 992206552 bytes (946 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.4.6
0
Its suppose to add more biome and a few block
The problem is that paulscode say me that there is a bug every time I try to launch the game but i havent add block yet
Could you help me cause its totaly anoying
0
2.) Have you ever played a server like it? : No, I tried to find one a long time ago
3.) Do you have skype? Are you willing to skype with other server members? : I could and i have skype
4.) How old are you? : 16 years old
5.) Do you plan on recording videos on the Server? (Yes or no is fine, no big deal) : I can't realy now but later maybe!
6.) What are your plans on the server or ideas you have? : My idea is, Survive
7.) IGN so I can whitelist you : Shad_Star