• 0

    posted a message on [1.7.2] Question on Biomes using Forge
    Anyone coding in 1.7.2 that wants biomes should know that the old .addBiome no longer works. In fact there is no "easy" way to make a biome with out some serious amount of coding. I need help on this, I'm getting close to figuring it out, but I'm stuck so i'll give you my ideas and what I have but I'd love some input and I'd like to know how to make this a little easier, and the goal here is to eventually make it so someone can make a tutorial on this!

    So what I have so far is I know we are going to have to do a few things here. We will need to copy and rewrite the following files.
    GenLayerBiome
    BiomeGenBase

    You'll need to create a new Biome obviously thats easy.
    In GenLayerBiome this code exists pointing to the idea of not only registry but spawning the biome into the game.
    public GenLayerBiome(long par1, GenLayer par3GenLayer, WorldType par4WorldType)
        {
    	    super(par1);
    	    this.field_151623_c = new BiomeGenBase[] {BiomeGenBase.desert, BiomeGenBase.desert, BiomeGenBase.desert, BiomeGenBase.savanna, BiomeGenBase.savanna, BiomeGenBase.plains};
    	    this.field_151621_d = new BiomeGenBase[] {BiomeGenBase.forest, BiomeGenBase.roofedForest, BiomeGenBase.extremeHills, BiomeGenBase.plains, BiomeGenBase.birchForest, BiomeGenBase.swampland};
    	    this.field_151622_e = new BiomeGenBase[] {BiomeGenBase.forest, BiomeGenBase.extremeHills, BiomeGenBase.taiga, BiomeGenBase.plains};
    	    this.field_151620_f = new BiomeGenBase[] {BiomeGenBase.icePlains, BiomeGenBase.icePlains, BiomeGenBase.icePlains, BiomeGenBase.coldTaiga};
    	    this.parent = par3GenLayer;
    	    if (par4WorldType == WorldType.DEFAULT_1_1)
    	    {
    		    this.field_151623_c = new BiomeGenBase[] {BiomeGenBase.desert, BiomeGenBase.forest, BiomeGenBase.extremeHills, BiomeGenBase.swampland, BiomeGenBase.plains, BiomeGenBase.taiga};
    	    }
        }


    So whats the problem with it? It's not a method so you can't call it in your registry, meaning you need some communication. IN THEORY you can just say,
    GenLayerBiome genNewBiomes = new GenLayerBiome(par1, genNewBiome, worldType.DEFAULT);


    We will encounter errors here, also what is long par1? According to eclipse genNewBiome isn't initialized yet. Which... makes no sense really.

    So in theory you create your biomes in your new biomeGenBase class, then add them into your own array inside your genLayerBiome class, then call it by the code I gave above... right?

    Am I on the right track here? Or am I way off. I really would love to know and I'd like to find out more if I am wrong on how this code can start to work!
    Thanks for all the help! :)
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Jay Builds[LP]
    Sorry I haven't Updated in a while, I'll try to keep this thread up to date.
    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Episode 66:
    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Sorry I have not posted in a while. I'll have the playlist and a thread on here of the videos posted later tonight. Until then Enjoy my videos! :)
    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Episodes 9-12





    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Episodes 7-8



    Posted in: Let's Plays
  • 0

    posted a message on Feed The Beast LP
    Heres my latest video:
    And heres the playlist to all the videos!
    http://www.youtube.c...MlWUtZMx2T8ncAJ
    ENJOY! :)
    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Episodes 4-6

    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Episode 3

    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Older Episodes:

    Posted in: Let's Plays
  • 0

    posted a message on Jay Builds[LP]
    Hey there! Hope you'll take a few seconds to watch the latest episode of Jay Builds! This is my playlist, just take a few minutes check me out and if you like me subscribe!
    Fair enough? Great!

    Playlist: http://www.youtube.c...tEcjzjq4cmW9GKX

    Latest Video:
    Posted in: Let's Plays
  • 0

    posted a message on Welcome To The Jungle (Multiplayer MindCraft Style Server)

    PointxBl8nk: IMineNCraft: MrDJD13: DRKFST: TonyTechVT:
    Posted in: Let's Plays
  • 0

    posted a message on Iminencraft Builds
    2/28/2013
    Posted in: Let's Plays
  • 0

    posted a message on Iminencraft's Creative Labs
    2/27/20
    Posted in: Let's Plays
  • To post a comment, please or register a new account.