Jump to content

Eractnod

Members
  • Posts

    56
  • Joined

  • Last visited

Everything posted by Eractnod

  1. From the log you sent, you are running MC 1.7.2 with forge for MC 1.7.2, but all of your mods are for MC 1.6.4. You need to setup a 1.6.4 profile and download forge for 1.6.4, then load all the 1.6.4 mods.
  2. I have looked through out the forums and on the web for how to register a biome in 1.7.2, but have not found a solution yet. I have tried all the suggestions. Decided to ask here for some help. Here is my registration code. I have removed all spawn biomes to make it easier to find mine, but when I create a world, says can't find spawn biome. The biome does get registered with the BiomeDictionary. Tried with and without the Boolean in the contructor. Used forge 1047 and this is in 1056. public static final BiomeGenBase TelvarianBiome = (new TelvarianBiome(75, true)); @EventHandler public void preInit(FMLPreInitializationEvent event) { //Remove existing spawn biomes for testing purpose BiomeManager.removeSpawnBiome(forest); BiomeManager.removeSpawnBiome(taigaHills); BiomeManager.removeSpawnBiome(taiga); BiomeManager.removeSpawnBiome(plains); BiomeManager.removeSpawnBiome(jungleHills); BiomeManager.removeSpawnBiome(jungle); BiomeManager.removeSpawnBiome(forestHills); //New biome ot biome dictionary BiomeDictionary.registerBiomeType(TelvarianBiome, Type.FOREST); System.out.println("The biome registered yes or no !!!!!!!!!!!!! " + BiomeDictionary.registerBiomeType(TelvarianBiome, Type.FOREST)); //Add biome as a spawn biome BiomeManager.addSpawnBiome(TelvarianBiome); System.out.println("Allowed biomes**************** " + WorldChunkManager.allowedBiomes); Here is my biome. Nothing fancy, just trying to get it to work before making more changes. package test.biome; import net.minecraft.block.Block; import net.minecraft.entity.passive.EntityHorse; import net.minecraft.entity.passive.EntityWolf; import net.minecraft.init.Blocks; import net.minecraft.world.biome.BiomeGenBase; public class TelvarianBiome extends BiomeGenBase { protected static final BiomeGenBase.Height height_telvarian = new BiomeGenBase.Height(0.2F, 0.2F); public TelvarianBiome(int par1, Boolean register) { super(par1, register); this.setBiomeName("Telvarian Biome"); setHeight(height_telvarian); this.topBlock = (Block)Blocks.grass; this.fillerBlock = (Block)Blocks.brick_block; this.setTemperatureRainfall(0.8F, 0.4F); this.theBiomeDecorator.treesPerChunk = -999; this.theBiomeDecorator.deadBushPerChunk = 0; this.theBiomeDecorator.reedsPerChunk = 0; this.theBiomeDecorator.cactiPerChunk = 0; //this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityHorse.class, 5, 2, 6)); //this.spawnableCreatureList.add(new SpawnListEntry(EntityWolf.class, 8, 4, 4)); this.spawnableCaveCreatureList.clear(); System.out.println("Am I getting to this part of the biome #########################"); } } Added 6 biomes and searched several worlds. Biomes are either not registering, or not being created. Deleted all code for biomes from mod. Closing this thread. Still can't find the biome in the overworld, but made a dimension and used my biome and it generates in the new dimension just fine. Just looks like you can not make a custom biome and select it as a player spawn in biome. Or I am still missing something on that end.
  3. Again, Many thanks LexManos. Was finally able to isolate the issue to my sapling class. Took a bit and learned a few things, but was finally able to clean it up and get it to work in the client. Was not as easy and straight forward as 1.6.4.
  4. Thank you very much. Just removed all my wood blocks and it is now working. Will need to re-add my wood blocks one at a time and see which one is causing the issue. I have 4 different woods and was doing everything in groups of 4. Looks like I will need to do it one by one.
  5. Sorry, just figured out how to do the spoiler.
  6. My mod will run fine in Eclipse. However, when I build it and launch it in Minecraft, it will crash for class not found. Looking at the error log, it looks like the build has added an "L" to the path. But looking at the .jar file, there is no "L" in the path directory tree. This is like the third time I have tried to build this mod and keep getting class not found faults. I have built the mod at regular intervals and it would work fine, then add another block and crash. Remove the block and it would continue to crash. The "L" should not be there. java.lang.NoClassDefFoundError: Ltelvarian/common/TEContent;
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.