Jump to content

[1.7.10][Quasi - SOLVED] Unable to find spawn biome


Glistre

Recommended Posts

My filler block always spawns AIR when I set it to my custom block.  works fine when I use a vanilla block.

 

Not sure what is going on I have moved around my biome registry in my main class in different configurations but the biome only loads when it is before the custom block ...

 

I thought it was supposed to be the other way around but when I move it I get an error "unable to find spawn biome" and minecraft will not spawn anything at all

 

I will post my main class ...this is edited to make it easier to see what I did

 

hopefully someone will see what I am doing wrong

 

package com.glistre.glistremod;

import java.awt.Color;
import java.util.List;

import net.minecraft.block.Block;

import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.passive.EntityTameable;
import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.entity.projectile.EntityEgg;
import net.minecraft.init.Items;
import net.minecraft.item.Item;

import net.minecraft.world.WorldType;

import com.glistre.glistremod.WorldTypeGlistre;

import net.minecraft.world.biome.BiomeGenBase;

import net.minecraftforge.common.BiomeDictionary;
import net.minecraftforge.common.BiomeDictionary.Type;
import net.minecraftforge.common.BiomeManager;
import net.minecraftforge.common.BiomeManager.BiomeEntry;
import net.minecraftforge.common.MinecraftForge;

import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;


import com.glistre.glistremod.BiomeRegistry;


import com.glistre.glistremod.CommonProxy;
import com.glistre.glistremod.ClientProxy;
import com.glistre.glistremod.MyItem;

import com.glistre.glistremod.MyBlock;
import com.glistre.glistremod.GlistreBiome;
//import com.glistre.glistremod.MyBlockGen;
import com.glistre.glistremod.EntityGlistreWolf;





/* 	MOD INFO */
@Mod(modid = "GlistreMod", name = "Glistre Mod", version = "2.0")

public class GlistreMod {

public static final String MODID = "GlistreMod";
public static final String NAME = "Glistre Mod";
public static final String VERSION = "2.0";

@Instance("GlistreMod")
public static GlistreMod instance;

/*	PROXY INFO */
@SidedProxy(clientSide = ("com.glistre.glistremod.ClientProxy"), serverSide = ("com.glistre.glistremod.CommonProxy"))
public static CommonProxy proxy;

GlistreEventHandler handler = new GlistreEventHandler();



/**	
* DECLARATION SECTION 
* *********************************************************** */
//  DECLARE THE ITEM
        public static Item MyItem_1;
        
//  DECLARE THE BLOCKS
        public static Block MyBlock_1;
       



        public int modEntityID = 0;



    	
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */	


        
@EventHandler	
public void preInit( FMLPreInitializationEvent event) {



FMLCommonHandler.instance().bus().register(handler);
MinecraftForge.EVENT_BUS.register(handler);



proxy.registerRendering();

    BiomeRegistry.GlistreMod();



  


/**	
* LOAD SECTION 
* *********************************************************** */ 
//  LOAD THE ITEM
        MyItem_1 = new MyItem(MyItem_1, "MyItem_1").setUnlocalizedName("MyItem_1").setMaxStackSize(64).setTextureName(MODID + ":" + "MyItem_1");
        GameRegistry.registerItem(MyItem_1, MyItem_1.getUnlocalizedName());


//  LOAD THE BLOCK 
        MyBlock_1 = new MyBlock().setBlockName("MyBlock_1").setBlockTextureName(MODID + ":" + "MyBlock_1")
        		.setLightLevel(1.2F).setResistance(5.0F).setHardness(3.5F).setStepSound(Block.soundTypeStone);
        GameRegistry.registerBlock(MyBlock_1, MyBlock_1.getUnlocalizedName());
     


   

       


       EntityRegistry.registerModEntity(EntityGlistreWolf.class, "Glistre Wolf", ++modEntityID, GlistreMod.instance, 80, 3, false);

               EntityRegistry.addSpawn(EntityGlistreWolf.class, 10, 3, 7, EnumCreatureType.creature, BiomeRegistry.biomeGlistre);
       		EntityRegistry.addSpawn(EntityGlistreWolf.class, 1, 1, 2, EnumCreatureType.creature, BiomeGenBase.desert);





/*	    biomeGlistre = new GlistreBiome(137).setBiomeName("Glistering Biome");
	BiomeDictionary.registerBiomeType(biomeGlistre, Type.FOREST);		
	BiomeManager.addSpawnBiome(biomeGlistre);	*/	




}



/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */	


@EventHandler
public static void init(FMLInitializationEvent event ) 
{





/**	
* RECIPES SECTION 
* *********************************************************** */


//  SMELTING RECIPE
        GameRegistry.addSmelting(MyBlock_1, (new ItemStack(MyItem_1, 1)), 12);


       // REGISTER GLISTREWOLF SPAWNEGGS

       		Item itemSpawnEgg = new GlistreEntityMonsterPlacer("Glistre Wolf", 0xFFFFFF, 0xFFFF5D)
       		.setUnlocalizedName ("spawn_egg")
       		.setTextureName("glistremod:spawn_egg");
       		GameRegistry.registerItem(itemSpawnEgg, "spawn_egg");      


/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */	


/**	
* EXTRA METHODS SECTION 
* *********************************************************** */

//  REGISTER THE ORE GENERATION 
    //GameRegistry.registerWorldGenerator(new MyBlockGen());



/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */	

    			
}

@EventHandler
public static void postInit( FMLPostInitializationEvent event ) 
{


WorldType BIOMEGLISTRE = new WorldTypeGlistre(3, "biomeGlistre");

}


}

 

biome registry:

package com.glistre.glistremod;

import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.BiomeDictionary;
import net.minecraftforge.common.BiomeManager;
import net.minecraftforge.common.BiomeDictionary.Type;



public class BiomeRegistry {

public static void GlistreMod(){
	initializeBiome();
	registerBiome();
}
  
public static BiomeGenBase biomeGlistre;	
public static void initializeBiome(){
       biomeGlistre = new GlistreBiome(137).setBiomeName("Glistering Biome");
   	 

    }


public static void registerBiome(){
	BiomeDictionary.registerBiomeType(biomeGlistre, Type.FOREST);		
	BiomeManager.addSpawnBiome(biomeGlistre);
}

}

 

biome class:

 package com.glistre.glistremod;

import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.entity.monster.EntitySkeleton;
import net.minecraft.entity.monster.EntityZombie;
import net.minecraft.entity.passive.EntityHorse;
import net.minecraft.entity.passive.EntityOcelot;
import net.minecraft.entity.passive.EntityPig;
import net.minecraft.init.Blocks;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenHugeTrees;
import net.minecraft.world.gen.feature.WorldGenerator;

public class GlistreBiome extends BiomeGenBase
{
    public GlistreBiome(int id)
    {
        super(id);
        
        this.setBiomeName("Glistering Biome");
        this.topBlock = Blocks.grass;
	this.fillerBlock = GlistreMod.MyBlock_1;

        
        this.theBiomeDecorator.treesPerChunk = 2;
        this.theBiomeDecorator.waterlilyPerChunk = 400;
        this.theBiomeDecorator.bigMushroomsPerChunk = 1;
        this.theBiomeDecorator.reedsPerChunk = 10;
        this.theBiomeDecorator.grassPerChunk = 10;
        

        this.spawnableCreatureList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1));      
        this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 2, 5, 7));
        this.spawnableCreatureList.add(new SpawnListEntry(EntityPig.class, 1, 2, 7));     
        this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 1, 1, 1));
        this.spawnableMonsterList.add(new SpawnListEntry(EntityZombie.class, 2, 1, 2));
       this.spawnableCreatureList.add(new SpawnListEntry(EntityGlistreWolf.class, 10, 3, 7));
        this.spawnableCreatureList.add(new SpawnListEntry(EntityTobo.class, 10, 3, 7));
        this.spawnableCreatureList.clear();
       this.spawnableWaterCreatureList.clear();
        this.spawnableMonsterList.clear();        //this.spawnableMonsterList.add(new SpawnListEntry(EntityWitch.class, 200, 1, 1));
    
        this.addFlower(Blocks.red_flower, 4, 3);      
//      this.addFlower(Blocks.yellow_flower, 0, 30);
        
        this.setColor(0x7F007F);

        this.setEnableSnow();
        this.setMinMaxHeight(0.7F, 1.1F);
        this.setTemperatureRainfall(0.2F, 2.4F);
       
    }
    
private void setMinMaxHeight(float f, float g) 
{

}

}	


Link to comment
Share on other sites

should not this work? the blocks are before the biome

 

BlockRegistry:

package com.glistre.glistremod;

import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;




public class BlockRegistry {

public static void GlistreMod(){
	initializeBlock();
	registerBlock();
}
  
public static Block MyBlock_1;	
public static void initializeBlock(){
        MyBlock_1 = new MyBlock().setBlockName("MyBlock_1").setCreativeTab(GlistreMod.GlistreTab_1).setBlockTextureName(GlistreMod.MODID + ":" + "MyBlock_1")
        		.setLightLevel(1.2F).setResistance(5.0F).setHardness(3.5F).setStepSound(Block.soundTypeStone);
   	 

    }


public static void registerBlock(){
        GameRegistry.registerBlock(MyBlock_1, MyBlock_1.getUnlocalizedName());

}

}

 

main class redone:

  package com.glistre.glistremod;

import java.awt.Color;
import java.util.List;

import net.minecraft.block.Block;

import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.passive.EntityTameable;
import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.entity.projectile.EntityEgg;
import net.minecraft.init.Items;
import net.minecraft.item.Item;

import net.minecraft.world.WorldType;

import com.glistre.glistremod.WorldTypeGlistre;

import net.minecraft.world.biome.BiomeGenBase;

import net.minecraftforge.common.BiomeDictionary;
import net.minecraftforge.common.BiomeDictionary.Type;
import net.minecraftforge.common.BiomeManager;
import net.minecraftforge.common.BiomeManager.BiomeEntry;
import net.minecraftforge.common.MinecraftForge;

import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;

import com.glistre.glistremod.BlockRegistry;
import com.glistre.glistremod.BiomeRegistry;


import com.glistre.glistremod.CommonProxy;
import com.glistre.glistremod.ClientProxy;
import com.glistre.glistremod.MyItem;

import com.glistre.glistremod.MyBlock;
import com.glistre.glistremod.GlistreBiome;
//import com.glistre.glistremod.MyBlockGen;
import com.glistre.glistremod.EntityGlistreWolf;





/* 	MOD INFO */
@Mod(modid = "GlistreMod", name = "Glistre Mod", version = "2.0")

public class GlistreMod {

public static final String MODID = "GlistreMod";
public static final String NAME = "Glistre Mod";
public static final String VERSION = "2.0";

@Instance("GlistreMod")
public static GlistreMod instance;

/*	PROXY INFO */
@SidedProxy(clientSide = ("com.glistre.glistremod.ClientProxy"), serverSide = ("com.glistre.glistremod.CommonProxy"))
public static CommonProxy proxy;

GlistreEventHandler handler = new GlistreEventHandler();



/**	
* DECLARATION SECTION 
* *********************************************************** */
//  DECLARE THE ITEM
        public static Item MyItem_1;
        




        public int modEntityID = 0;



    	
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */	


        
@EventHandler	
public void preInit( FMLPreInitializationEvent event) {



FMLCommonHandler.instance().bus().register(handler);
MinecraftForge.EVENT_BUS.register(handler);



proxy.registerRendering();
    BlockRegistry.GlistreMod();
    BiomeRegistry.GlistreMod();



  


/**	
* LOAD SECTION 
* *********************************************************** */ 
//  LOAD THE ITEM
        MyItem_1 = new MyItem(MyItem_1, "MyItem_1").setUnlocalizedName("MyItem_1").setMaxStackSize(64).setTextureName(MODID + ":" + "MyItem_1");
        GameRegistry.registerItem(MyItem_1, MyItem_1.getUnlocalizedName());



     


   

       


       EntityRegistry.registerModEntity(EntityGlistreWolf.class, "Glistre Wolf", ++modEntityID, GlistreMod.instance, 80, 3, false);

               EntityRegistry.addSpawn(EntityGlistreWolf.class, 10, 3, 7, EnumCreatureType.creature, BiomeRegistry.biomeGlistre);
       		EntityRegistry.addSpawn(EntityGlistreWolf.class, 1, 1, 2, EnumCreatureType.creature, BiomeGenBase.desert);










}



/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */	


@EventHandler
public static void init(FMLInitializationEvent event ) 
{





/**	
* RECIPES SECTION 
* *********************************************************** */


//  SMELTING RECIPE
        GameRegistry.addSmelting(MyBlock_1, (new ItemStack(MyItem_1, 1)), 12);


       // REGISTER GLISTREWOLF SPAWNEGGS

       		Item itemSpawnEgg = new GlistreEntityMonsterPlacer("Glistre Wolf", 0xFFFFFF, 0xFFFF5D)
       		.setUnlocalizedName ("spawn_egg")
       		.setTextureName("glistremod:spawn_egg");
       		GameRegistry.registerItem(itemSpawnEgg, "spawn_egg");      


/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */	


/**	




/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */	

    			
}

@EventHandler
public static void postInit( FMLPostInitializationEvent event ) 
{


WorldType BIOMEGLISTRE = new WorldTypeGlistre(3, "biomeGlistre");

}


}

 

But then I get this console error and the biome will not load at all:

 

[09:00:07] [server thread/INFO] [FML]: Holder lookups applied
[09:00:07] [server thread/WARN]: Unable to find spawn biome
[09:00:10] [server thread/INFO] [FML]: Loading dimension 0 (Noob) (net.minecraft.server.integrated.IntegratedServer@e528b8)
[09:00:10] [server thread/INFO] [FML]: Loading dimension 1 (Noob) (net.minecraft.server.integrated.IntegratedServer@e528b8)
[09:00:10] [server thread/INFO] [FML]: Loading dimension -1 (Noob) (net.minecraft.server.integrated.IntegratedServer@e528b8)
[09:00:10] [server thread/INFO]: Preparing start region for level 0
[09:00:11] [server thread/INFO]: Preparing spawn area: 8%
[09:00:12] [server thread/INFO]: Preparing spawn area: 13%
[09:00:13] [server thread/INFO]: Preparing spawn area: 19%
[09:00:14] [server thread/INFO]: Preparing spawn area: 24%
[09:00:26] [server thread/INFO]: Preparing spawn area: 29%
[09:00:27] [server thread/INFO]: Preparing spawn area: 31%
[09:00:31] [server thread/INFO]: Preparing spawn area: 33%
[09:00:40] [server thread/INFO]: Preparing spawn area: 33%
[09:00:46] [server thread/INFO]: Preparing spawn area: 34%
[09:01:02] [server thread/INFO]: Preparing sp

 

 

Link to comment
Share on other sites

I am seriously, seriously confused.

 

 

 

console:

[10:19:17] [main/INFO] [GradleStart]: Extra: []
[10:19:18] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Wesley/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[10:19:18] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[10:19:18] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[10:19:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[10:19:18] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[10:19:18] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraft 1.7.10 loading
[10:19:18] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_75, running on Windows Vista:x86:6.0, installed at C:\Program Files\Java\jre7
[10:19:18] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[10:19:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[10:19:18] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[10:19:18] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[10:19:18] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:19:18] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[10:19:18] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:19:18] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:19:18] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:19:18] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[10:19:21] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[10:19:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:19:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[10:19:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[10:19:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[10:19:22] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[10:19:24] [main/INFO]: Setting user: Player535
[10:19:26] [Client thread/INFO]: LWJGL Version: 2.9.1
[10:19:26] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[10:19:26] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized
[10:19:27] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[10:19:27] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[10:19:27] [Client thread/INFO] [FML]: Searching C:\Users\Wesley\Desktop\Modding\Forge\eclipse\mods for mods
[10:19:31] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[10:19:31] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, GlistreMod] at CLIENT
[10:19:31] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, GlistreMod] at SERVER
[10:19:32] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Glistre Mod
[10:19:32] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[10:19:32] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[10:19:32] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[10:19:32] [Client thread/INFO] [FML]: Applying holder lookups
[10:19:32] [Client thread/INFO] [FML]: Holder lookups applied
[10:19:32] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[10:19:32] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[10:19:32] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[10:19:32] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[10:19:32] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[10:19:33] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[10:19:33] [sound Library Loader/INFO]: Sound engine started
[10:19:36] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[10:19:36] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[10:19:36] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[10:19:36] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Glistre Mod
[10:19:36] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[10:19:37] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[10:19:37] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[10:19:37] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[10:19:37] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[10:19:37] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[10:19:37] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[10:19:37] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[10:19:37] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[10:19:37] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[10:19:37] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[10:19:38] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[10:19:38] [sound Library Loader/INFO]: Sound engine started
[10:20:04] [Client thread/INFO]: Deleting level Noob
[10:20:04] [Client thread/INFO]: Attempt 1...
[10:20:44] [server thread/INFO]: Starting integrated minecraft server version 1.7.10
[10:20:44] [server thread/INFO]: Generating keypair
[10:20:45] [server thread/INFO]: Converting map!
[10:20:45] [server thread/INFO]: Scanning folders...
[10:20:45] [server thread/INFO]: Total conversion count is 0
[10:20:45] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[10:20:45] [server thread/INFO] [FML]: Applying holder lookups
[10:20:45] [server thread/INFO] [FML]: Holder lookups applied
[10:20:45] [server thread/WARN]: Unable to find spawn biome
[10:20:49] [server thread/INFO] [FML]: Loading dimension 0 (Noob) (net.minecraft.server.integrated.IntegratedServer@1ffba0a)
[10:20:49] [server thread/INFO] [FML]: Loading dimension 1 (Noob) (net.minecraft.server.integrated.IntegratedServer@1ffba0a)
[10:20:49] [server thread/INFO] [FML]: Loading dimension -1 (Noob) (net.minecraft.server.integrated.IntegratedServer@1ffba0a)
[10:20:49] [server thread/INFO]: Preparing start region for level 0
[10:20:50] [server thread/INFO]: Preparing spawn area: 8%
[10:20:51] [server thread/INFO]: Preparing spawn area: 12%
[10:20:52] [server thread/INFO]: Preparing spawn area: 19%
[10:20:53] [server thread/INFO]: Preparing spawn area: 24%
[10:20:54] [server thread/INFO]: Preparing spawn area: 29%
[10:21:05] [server thread/INFO]: Preparing spawn area: 29%
[10:21:06] [server thread/INFO]: Preparing spawn area: 31%
[10:21:11] [server thread/INFO]: Preparing spawn area: 33%
[10:21:20] [server thread/INFO]: Preparing spawn area: 33%
[10:21:27] [server thread/INFO]: Preparing spawn area: 34%
[10:21:44] [server thread/INFO]: Preparing spawn area: 37%
[10:21:56] [server thread/INFO]: Preparing spawn area: 38%
[10:22:00] [server thread/INFO]: Preparing spawn area: 41%
[10:22:02] [server thread/INFO]: Preparing spawn area: 41%
[10:22:17] [server thread/INFO]: Preparing spawn area: 41%
[10:22:33] [server thread/INFO]: Preparing spawn area: 42%
[10:22:39] [server thread/INFO]: Preparing spawn area: 42%
[10:22:45] [server thread/INFO]: Preparing spawn area: 44%
[10:22:48] [server thread/INFO]: Preparing spawn area: 44%
[10:22:51] [server thread/INFO]: Preparing spawn area: 44%
[10:22:54] [server thread/INFO]: Preparing spawn area: 45%
[10:22:55] [server thread/INFO]: Preparing spawn area: 45%
[10:23:03] [server thread/INFO]: Preparing spawn area: 45%
[10:23:09] [server thread/INFO]: Preparing spawn area: 45%
[10:23:11] [server thread/INFO]: Preparing spawn area: 45%
[10:23:19] [server thread/INFO]: Preparing spawn area: 46%
[10:23:28] [server thread/INFO]: Preparing spawn area: 46%
[10:23:36] [server thread/INFO]: Preparing spawn area: 46%
[10:23:41] [server thread/INFO]: Preparing spawn area: 46%
[10:23:44] [server thread/INFO]: Preparing spawn area: 46%
[10:23:45] [server thread/INFO]: Preparing spawn area: 47%
[10:23:49] [server thread/INFO]: Preparing spawn area: 48%
[10:24:04] [server thread/INFO]: Preparing spawn area: 48%
[10:24:13] [server thread/INFO]: Preparing spawn area: 48%
[10:24:26] [server thread/INFO]: Preparing spawn area: 48%
[10:24:35] [server thread/INFO]: Preparing spawn area: 49%
[10:24:37] [server thread/INFO]: Preparing spawn area: 49%
[10:24:51] [server thread/INFO]: Preparing spawn area: 49%
[10:25:01] [server thread/INFO]: Preparing spawn area: 49%
[10:25:17] [server thread/INFO]: Preparing spawn area: 49%
[10:25:27] [server thread/INFO]: Preparing spawn area: 50%
[10:25:37] [server thread/INFO]: Preparing spawn area: 50%
[10:25:45] [server thread/INFO]: Preparing spawn area: 50%
[10:25:51] [server thread/INFO]: Preparing spawn area: 51%
[10:25:54] [server thread/INFO]: Preparing spawn area: 52%
[10:26:01] [server thread/INFO]: Preparing spawn area: 52%
[10:26:21] [server thread/INFO]: Preparing spawn area: 52%
[10:26:39] [server thread/INFO]: Preparing spawn area: 52%
[10:26:51] [server thread/INFO]: Preparing spawn area: 53%
[10:27:03] [server thread/INFO]: Preparing spawn area: 53%
[10:27:19] [server thread/INFO]: Preparing spawn area: 53%
[10:27:36] [server thread/INFO]: Preparing spawn area: 53%
[10:27:47] [server thread/INFO]: Preparing spawn area: 53%
[10:27:54] [server thread/INFO]: Preparing spawn area: 53%
[10:27:58] [server thread/INFO]: Preparing spawn area: 54%
[10:27:59] [server thread/INFO]: Preparing spawn area: 54%
[10:28:03] [server thread/INFO]: Preparing spawn area: 54%
[10:28:12] [server thread/INFO]: Preparing spawn area: 54%
[10:28:13] [server thread/INFO]: Preparing spawn area: 54%
[10:28:15] [server thread/INFO]: Preparing spawn area: 55%
[10:28:19] [server thread/INFO]: Preparing spawn area: 56%
[10:28:35] [server thread/INFO]: Preparing spawn area: 56%
[10:28:50] [server thread/INFO]: Preparing spawn area: 56%
[10:29:06] [server thread/INFO]: Preparing spawn area: 57%
[10:29:18] [server thread/INFO]: Preparing spawn area: 57%
[10:29:31] [server thread/INFO]: Preparing spawn area: 57%
[10:29:45] [server thread/INFO]: Preparing spawn area: 57%
[10:29:56] [server thread/INFO]: Preparing spawn area: 57%
[10:30:00] [server thread/INFO]: Preparing spawn area: 57%
[10:30:03] [server thread/INFO]: Preparing spawn area: 58%
[10:30:08] [server thread/INFO]: Preparing spawn area: 58%
[10:30:14] [server thread/INFO]: Preparing spawn area: 58%
[10:30:18] [server thread/INFO]: Preparing spawn area: 58%
[10:30:20] [server thread/INFO]: Preparing spawn area: 59%
[10:30:22] [server thread/INFO]: Preparing spawn area: 59%
[10:30:24] [server thread/INFO]: Preparing spawn area: 60%
[10:30:33] [server thread/INFO]: Preparing spawn area: 60%
[10:30:44] [server thread/INFO]: Preparing spawn area: 60%
[10:30:54] [server thread/INFO]: Preparing spawn area: 61%
[10:31:00] [server thread/INFO]: Preparing spawn area: 61%
[10:31:07] [server thread/INFO]: Preparing spawn area: 61%
[10:31:14] [server thread/INFO]: Preparing spawn area: 61%
[10:31:23] [server thread/INFO]: Preparing spawn area: 61%
[10:31:30] [server thread/INFO]: Preparing spawn area: 61%
[10:31:35] [server thread/INFO]: Preparing spawn area: 62%
[10:31:42] [server thread/INFO]: Preparing spawn area: 62%
[10:31:50] [server thread/INFO]: Preparing spawn area: 62%
[10:31:55] [server thread/INFO]: Preparing spawn area: 62%
[10:32:03] [server thread/INFO]: Preparing spawn area: 62%
[10:32:13] [server thread/INFO]: Preparing spawn area: 62%
[10:32:19] [server thread/INFO]: Preparing spawn area: 63%
[10:32:22] [server thread/INFO]: Preparing spawn area: 64%
[10:32:26] [server thread/INFO]: Preparing spawn area: 64%
[10:32:33] [server thread/INFO]: Preparing spawn area: 64%
[10:32:41] [server thread/INFO]: Preparing spawn area: 64%
[10:32:51] [server thread/INFO]: Preparing spawn area: 65%
[10:32:56] [server thread/INFO]: Preparing spawn area: 65%
[10:33:00] [server thread/INFO]: Preparing spawn area: 65%
[10:33:04] [server thread/INFO]: Preparing spawn area: 65%
[10:33:10] [server thread/INFO]: Preparing spawn area: 65%
[10:33:16] [server thread/INFO]: Preparing spawn area: 65%
[10:33:27] [server thread/INFO]: Preparing spawn area: 66%
[10:33:36] [server thread/INFO]: Preparing spawn area: 66%
[10:33:45] [server thread/INFO]: Preparing spawn area: 66%
[10:33:47] [server thread/INFO]: Preparing spawn area: 66%
[10:33:50] [server thread/INFO]: Preparing spawn area: 66%
[10:33:53] [server thread/INFO]: Preparing spawn area: 66%
[10:33:56] [server thread/INFO]: Preparing spawn area: 67%
[10:34:00] [server thread/INFO]: Preparing spawn area: 68%
[10:34:05] [server thread/INFO]: Preparing spawn area: 68%
[10:34:07] [server thread/INFO]: Preparing spawn area: 68%
[10:34:10] [server thread/INFO]: Preparing spawn area: 69%
[10:34:13] [server thread/INFO]: Preparing spawn area: 69%
[10:34:16] [server thread/INFO]: Preparing spawn area: 69%
[10:34:19] [server thread/INFO]: Preparing spawn area: 69%
[10:34:25] [server thread/INFO]: Preparing spawn area: 69%
[10:34:32] [server thread/INFO]: Preparing spawn area: 69%
[10:34:39] [server thread/INFO]: Preparing spawn area: 70%
[10:34:43] [server thread/INFO]: Preparing spawn area: 71%
[10:34:50] [server thread/INFO]: Preparing spawn area: 72%
[10:34:53] [server thread/INFO]: Preparing spawn area: 72%
[10:34:54] [server thread/INFO]: Preparing spawn area: 72%
[10:34:59] [server thread/INFO]: Preparing spawn area: 73%
[10:35:08] [server thread/INFO]: Preparing spawn area: 73%
[10:35:10] [server thread/INFO]: Preparing spawn area: 73%
[10:35:13] [server thread/INFO]: Preparing spawn area: 73%
[10:35:14] [server thread/INFO]: Preparing spawn area: 75%
[10:35:16] [server thread/INFO]: Preparing spawn area: 75%
[10:35:19] [server thread/INFO]: Preparing spawn area: 75%
[10:35:20] [server thread/INFO]: Preparing spawn area: 75%
[10:35:28] [server thread/INFO]: Preparing spawn area: 76%
[10:35:29] [server thread/INFO]: Preparing spawn area: 76%
[10:35:35] [server thread/INFO]: Preparing spawn area: 76%
[10:35:47] [server thread/INFO]: Preparing spawn area: 77%
[10:35:54] [server thread/INFO]: Preparing spawn area: 77%
[10:35:57] [server thread/INFO]: Preparing spawn area: 77%
[10:35:58] [server thread/INFO]: Preparing spawn area: 78%
[10:36:01] [server thread/INFO]: Preparing spawn area: 79%
[10:36:02] [server thread/INFO]: Preparing spawn area: 79%
[10:36:07] [server thread/INFO]: Preparing spawn area: 80%
[10:36:12] [server thread/INFO]: Preparing spawn area: 80%
[10:36:22] [server thread/INFO]: Preparing spawn area: 81%
[10:36:30] [server thread/INFO]: Preparing spawn area: 81%
[10:36:31] [server thread/INFO]: Preparing spawn area: 81%
[10:36:32] [server thread/INFO]: Preparing spawn area: 83%
[10:36:33] [server thread/INFO]: Preparing spawn area: 84%
[10:36:38] [server thread/INFO]: Preparing spawn area: 84%
[10:36:46] [server thread/INFO]: Preparing spawn area: 85%
[10:36:50] [server thread/INFO]: Preparing spawn area: 85%
[10:36:53] [server thread/INFO]: Preparing spawn area: 85%
[10:36:56] [server thread/INFO]: Preparing spawn area: 86%
[10:36:58] [server thread/INFO]: Preparing spawn area: 87%
[10:37:01] [server thread/INFO]: Preparing spawn area: 87%
[10:37:05] [server thread/INFO]: Preparing spawn area: 88%
[10:37:09] [server thread/INFO]: Preparing spawn area: 88%
[10:37:17] [server thread/INFO]: Preparing spawn area: 89%
[10:37:26] [server thread/INFO]: Preparing spawn area: 89%
[10:37:28] [server thread/INFO]: Preparing spawn area: 89%
[10:37:30] [server thread/INFO]: Preparing spawn area: 90%
[10:37:35] [server thread/INFO]: Preparing spawn area: 90%
[10:37:39] [server thread/INFO]: Preparing spawn area: 90%
[10:37:42] [server thread/INFO]: Preparing spawn area: 90%
[10:37:49] [server thread/INFO]: Preparing spawn area: 90%
[10:37:53] [server thread/INFO]: Preparing spawn area: 91%
[10:37:57] [server thread/INFO]: Preparing spawn area: 91%
[10:38:04] [server thread/INFO]: Preparing spawn area: 91%
[10:38:09] [server thread/INFO]: Preparing spawn area: 91%
[10:38:14] [server thread/INFO]: Preparing spawn area: 91%
[10:38:20] [server thread/INFO]: Preparing spawn area: 91%
[10:38:29] [server thread/INFO]: Preparing spawn area: 92%
[10:38:32] [server thread/INFO]: Preparing spawn area: 92%
[10:38:36] [server thread/INFO]: Preparing spawn area: 93%
[10:38:38] [server thread/INFO]: Preparing spawn area: 93%
[10:38:40] [server thread/INFO]: Preparing spawn area: 93%
[10:38:43] [server thread/INFO]: Preparing spawn area: 93%
[10:38:45] [server thread/INFO]: Preparing spawn area: 93%
[10:38:47] [server thread/INFO]: Preparing spawn area: 93%
[10:38:49] [server thread/INFO]: Preparing spawn area: 94%
[10:38:53] [server thread/INFO]: Preparing spawn area: 94%
[10:38:59] [server thread/INFO]: Preparing spawn area: 94%
[10:39:03] [server thread/INFO]: Preparing spawn area: 94%
[10:39:13] [server thread/INFO]: Preparing spawn area: 94%
[10:39:19] [server thread/INFO]: Preparing spawn area: 94%
[10:39:28] [server thread/INFO]: Preparing spawn area: 95%
[10:39:35] [server thread/INFO]: Preparing spawn area: 95%
[10:39:46] [server thread/INFO]: Preparing spawn area: 95%
[10:39:56] [server thread/INFO]: Preparing spawn area: 95%
[10:40:02] [server thread/INFO]: Preparing spawn area: 95%
[10:40:09] [server thread/INFO]: Preparing spawn area: 95%
[10:40:18] [server thread/INFO]: Preparing spawn area: 96%
[10:40:21] [server thread/INFO]: Preparing spawn area: 96%
[10:40:26] [server thread/INFO]: Preparing spawn area: 96%
[10:40:31] [server thread/INFO]: Preparing spawn area: 96%
[10:40:40] [server thread/INFO]: Preparing spawn area: 96%
[10:40:48] [server thread/INFO]: Preparing spawn area: 97%
[10:40:49] [server thread/INFO]: Preparing spawn area: 97%
[10:40:52] [server thread/INFO]: Preparing spawn area: 97%
[10:40:56] [server thread/INFO]: Preparing spawn area: 97%
[10:41:04] [server thread/INFO]: Preparing spawn area: 97%
[10:41:08] [server thread/INFO]: Preparing spawn area: 97%
[10:41:09] [server thread/INFO]: Preparing spawn area: 98%
[10:41:11] [server thread/INFO]: Preparing spawn area: 98%
[10:41:19] [server thread/INFO]: Preparing spawn area: 98%
[10:41:30] [server thread/INFO]: Preparing spawn area: 98%
[10:41:34] [server thread/INFO]: Preparing spawn area: 98%
[10:41:35] [server thread/INFO]: Preparing spawn area: 98%
[10:41:42] [server thread/INFO]: Preparing spawn area: 99%
[10:41:51] [server thread/INFO]: Preparing spawn area: 99%
[10:42:01] [server thread/INFO]: Preparing spawn area: 99%
[10:42:08] [server thread/INFO]: Preparing spawn area: 99%
[10:42:17] [server thread/INFO]: Preparing spawn area: 99%
[10:42:24] [server thread/INFO]: Preparing spawn area: 99%
[10:42:32] [server thread/INFO]: Changing view distance to 6, from 10
[10:42:33] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[10:42:33] [Netty IO #1/INFO] [FML]: Client protocol version 1
[10:42:33] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[10:42:33] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[10:42:33] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[10:42:33] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[10:42:33] [server thread/INFO]: Player535[local:E:18f6b97e] logged in with entity id 189 at (630.5, 66.0, 362.5)
[10:42:33] [server thread/INFO]: Player535 joined the game
[10:42:33] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

It took 20 minutes to spawn ...then I opened up the game and there's nothing but black everywhere ...no nothing but a big black square below me

 

 

So, then I save and exit the game, then relaunch Minecraft, and go back into the saved game, and everything is there totally perfect

Link to comment
Share on other sites

WorldType:

package com.glistre.glistremod;

import net.minecraft.world.WorldType;
import net.minecraft.world.gen.layer.GenLayer;
import net.minecraft.world.gen.layer.GenLayerBiome;
import net.minecraft.world.gen.layer.GenLayerBiomeEdge;
import net.minecraft.world.gen.layer.GenLayerZoom;

public class WorldTypeGlistre extends WorldType{

public WorldTypeGlistre(int par1, String name) {
	super(name);

}
    /**
     * Creates the GenLayerBiome used for generating the world
     *
     * @param worldSeed The world seed
     * @param parentLayer The parent layer to feed into any layer you return
     * @return A GenLayer that will return ints representing the Biomes to be generated, see GenLayerBiome
     */
  @Override
public GenLayer getBiomeLayer(long worldSeed, GenLayer parentLayer)
    {
        GenLayer ret = new GlistreGenLayerBiome(200L, parentLayer, this);
        ret = GenLayerZoom.magnify(1000L, ret, 2);
        ret = new GenLayerBiomeEdge(1000L, ret);
        return ret;
    }
}

 

GenLayer:

package com.glistre.glistremod;

import java.util.ArrayList;
import java.util.List;

import net.minecraft.util.WeightedRandom;
import net.minecraft.world.WorldType;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.layer.GenLayer;
import net.minecraft.world.gen.layer.IntCache;
import net.minecraftforge.common.BiomeManager;
import net.minecraftforge.common.BiomeManager.BiomeEntry;
import net.minecraftforge.common.BiomeDictionary;


public class GlistreGenLayerBiome extends GenLayer
{
    private List<BiomeEntry>[] biomes = new ArrayList[biomeManager.BiomeType.values().length];
    
    private static final String __OBFID = "CL_00000555";

    public GlistreGenLayerBiome(long p_i2122_1_, GenLayer p_i2122_3_, WorldType p_i2122_4_)
    {
        super(p_i2122_1_);
        
        this.parent = p_i2122_3_;
        
        for (BiomeManager.BiomeType type : BiomeManager.BiomeType.values())
        {
            com.google.common.collect.ImmutableList<BiomeEntry> biomesToAdd = BiomeManager.getBiomes(type);
            int idx = type.ordinal();
            
            if (biomes[idx] == null) biomes[idx] = new ArrayList<BiomeEntry>();
            if (biomesToAdd != null) biomes[idx].addAll(biomesToAdd);
        }
        
        int desertIdx = BiomeManager.BiomeType.DESERT.ordinal();
        
        if (p_i2122_4_ == WorldType.DEFAULT_1_1)
        {
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.desert, 10));
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.forest, 10));
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.extremeHills, 10));
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.swampland, 10));
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.plains, 10));
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.taiga, 10));
            biomes[desertIdx].add(new BiomeEntry(BiomeRegistry.biomeGlistre, 10));
                  
        
        }
        else
        {
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.desert, 30));
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.savanna, 20));
            biomes[desertIdx].add(new BiomeEntry(BiomeGenBase.plains, 10));
            biomes[desertIdx].add(new BiomeEntry(BiomeRegistry.biomeGlistre, 10));  

        }
    }

    /**
     * Returns a list of integer values generated by this layer. These may be interpreted as temperatures, rainfall
     * amounts, or biomeList[] indices based on the particular GenLayer subclass.
     */
    public int[] getInts(int p_75904_1_, int p_75904_2_, int p_75904_3_, int p_75904_4_)
    {
        int[] aint = this.parent.getInts(p_75904_1_, p_75904_2_, p_75904_3_, p_75904_4_);
        int[] aint1 = IntCache.getIntCache(p_75904_3_ * p_75904_4_);

        for (int i1 = 0; i1 < p_75904_4_; ++i1)
        {
            for (int j1 = 0; j1 < p_75904_3_; ++j1)
            {
                this.initChunkSeed((long)(j1 + p_75904_1_), (long)(i1 + p_75904_2_));
                int k1 = aint[j1 + i1 * p_75904_3_];
                int l1 = (k1 & 3840) >> 8;
                k1 &= -3841;

                if (isBiomeOceanic(k1))
                {
                    aint1[j1 + i1 * p_75904_3_] = k1;
                }
                else if (k1 == BiomeGenBase.mushroomIsland.biomeID)
                {
                    aint1[j1 + i1 * p_75904_3_] = k1;
                }
                else if (k1 == 1)
                {
                    if (l1 > 0)
                    {
                        if (this.nextInt(3) == 0)
                        {
                            aint1[j1 + i1 * p_75904_3_] = BiomeGenBase.mesaPlateau.biomeID;
                        }
                        else
                        {
                            aint1[j1 + i1 * p_75904_3_] = BiomeGenBase.mesaPlateau_F.biomeID;
                        }
                    }
                    else
                    {
                        aint1[j1 + i1 * p_75904_3_] = getWeightedBiomeEntry(BiomeManager.BiomeType.DESERT).biome.biomeID;
                    }
                }
                else if (k1 == 2)
                {
                    if (l1 > 0)
                    {
                        aint1[j1 + i1 * p_75904_3_] = BiomeGenBase.jungle.biomeID;
                    }
                    else
                    {
                        aint1[j1 + i1 * p_75904_3_] = getWeightedBiomeEntry(BiomeManager.BiomeType.WARM).biome.biomeID;
                    }
                }
                else if (k1 == 3)
                {
                    if (l1 > 0)
                    {
                        aint1[j1 + i1 * p_75904_3_] = BiomeGenBase.megaTaiga.biomeID;
                    }
                    else
                    {
                        aint1[j1 + i1 * p_75904_3_] = getWeightedBiomeEntry(BiomeManager.BiomeType.COOL).biome.biomeID;
                    }
                }
                else if (k1 == 4)
                {
                    aint1[j1 + i1 * p_75904_3_] = getWeightedBiomeEntry(BiomeManager.BiomeType.ICY).biome.biomeID;
                }
                else
                {
                    aint1[j1 + i1 * p_75904_3_] = BiomeGenBase.mushroomIsland.biomeID;
                }
            }
        }

        return aint1;
    }
    
    protected BiomeEntry getWeightedBiomeEntry(BiomeManager.BiomeType type)
    {
        List<BiomeEntry> biomeList = biomes[type.ordinal()];
        int totalWeight = WeightedRandom.getTotalWeight(biomeList);
        int weight = BiomeManager.isTypeListModded(type)?nextInt(totalWeight):nextInt(totalWeight / 10) * 10;
        return (BiomeEntry)WeightedRandom.getItem(biomeList, weight);
    }
}

 

Am missing a class?

Link to comment
Share on other sites

I will rewrite it and clean it up

 

It's not that I am lazy it's because I just wanted to get it working first.

 

All I did was copy the existing code and paste in two lines that add my biome. 

 

            biomes[desertIdx].add(new BiomeEntry(BiomeRegistry.biomeGlistre, 10));

 

I did not make any other changes yet ...

thanks for taking the time to help me so far

 

Link to comment
Share on other sites

Okay everything working blocks registered before biome and then I changed the Biome ID from 137 to 154 everything loads, albeit slightly laggy once you're in the biome but that's probably my computer

 

Only remaining unusual thing is the console still flashes Unable to Find spawn Biome but only when I use a seed to spawn in my biome...

 

Or need to really dig into how the chunks are loaded.

 

I have heard it takes about a year to really understand Custom Biomes so I still have much to learn

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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