Jump to content

[1.7.10] biome replaced with mushroom island shore


Glistre

Recommended Posts

Not sure what happened, my custom biome is now always replaced with mushroom island shore....tried changing the ID, deleting the config file, restarting eclipse, deleting world,,,

 

no matter what I do it 's mushroom island shore now ...

 

Any ideas?

Link to comment
Share on other sites

I cannot explain it

Problem was created when I tried adding a config for the biomes like this:

package com.glistre.glistremod.biome;

 

import net.minecraft.world.biome.BiomeGenBase;

import net.minecraftforge.common.BiomeDictionary;

import net.minecraftforge.common.BiomeManager;

import net.minecraftforge.common.BiomeManager.BiomeEntry;

import net.minecraftforge.common.BiomeManager.BiomeType;

import net.minecraftforge.common.BiomeDictionary.Type;

 

 

 

public class BiomeRegistry {

 

public static void GlistreMod(){

initializeBiome();

registerBiome();

}

 

public static BiomeGenBase biomeGlistre;

public static BiomeGenBase biomeFreon;

public static int biomeGlistreID = 155;

public static int biomeFreonID = 154;

 

public static void initializeBiome(){

 

// 1.7.10 valid biome IDs use 0-39, 129-167, neg one unallocated

      biomeGlistre = new GlistreBiome(biomeGlistreID).setBiomeName("Glistering Biome");

      biomeFreon = new FreonBiome(biomeFreonID).setBiomeName("Freon Biome");

 

 

    }

 

public static void registerBiome(){

BiomeDictionary.registerBiomeType(biomeGlistre, Type.FOREST);

BiomeDictionary.registerBiomeType(biomeFreon, Type.COLD);

//change the next line to make biome more frequent, 50 is 50% probability of spawning, change to 10 later

// BiomeManager.addSpawnBiome(biomeGlistre);

BiomeEntry glistreBiomeEntry = new BiomeEntry(biomeGlistre, 50);

BiomeEntry freonBiomeEntry = new BiomeEntry(biomeFreon, 20);

//need to try with .COOL it did not seem to work

BiomeManager.addBiome(BiomeType.WARM, glistreBiomeEntry);

BiomeManager.addBiome(BiomeType.WARM, freonBiomeEntry);

}[/code]

 

When I put this "public static int = biomeGlistreID"

 

in my custom config file:

[/code] package com.glistre.glistremod.lib;

 

import com.glistre.glistremod.GlistreMod;

import cpw.mods.fml.common.FMLCommonHandler;

import net.minecraftforge.common.config.Configuration;

 

public class ConfigurationGlistre {

 

public static boolean cheapRecipe;

//ore attempt

public static boolean enableWorldGeneration;

 

//

 

//ID attempt

public static int biomeGlistreID;

public static int biomeFreonID;

// public static int dimensionId;

 

public static final boolean CHEAPRECIPE_DEFAULT = false;

public static final String CHEAPRECIPE_NAME = "Enables the cheap recipe for the Silver Sword and Glistering Bread";

public static final boolean WORLDSETTINGS_DEFAULT = true;

public static final String WORLD_SETTINGS = "Allows custom ore to generate in the world.";

 

public static final String CATEGORY_BIOME = "Change the ID of the Biomes";

// public static final String CATEGORY_DIMENSION = "Change the ID of the Dimension";

 

 

 

public static void loadConfig(){

FMLCommonHandler.instance().bus().register(GlistreMod.instance);

 

// recipes

final String RECIPES = GlistreMod.config.CATEGORY_GENERAL + GlistreMod.config.CATEGORY_SPLITTER + "Recipes";

GlistreMod.config.addCustomCategoryComment(RECIPES, "Enable or disable recipes");

cheapRecipe = GlistreMod.config.get(RECIPES, CHEAPRECIPE_NAME, CHEAPRECIPE_DEFAULT).getBoolean(CHEAPRECIPE_DEFAULT);

 

// world settings

final String WORLDGEN = GlistreMod.config.CATEGORY_GENERAL + GlistreMod.config.CATEGORY_SPLITTER + "World Settings";

GlistreMod.config.addCustomCategoryComment(WORLDGEN, "Enable or disable world settings");

enableWorldGeneration = GlistreMod.config.get(WORLDGEN, WORLD_SETTINGS, WORLDSETTINGS_DEFAULT).getBoolean(WORLDSETTINGS_DEFAULT);

 

final String CATEGORY_BIOME = GlistreMod.config.CATEGORY_GENERAL + GlistreMod.config.CATEGORY_SPLITTER + "Biomes";

GlistreMod.config.addCustomCategoryComment(CATEGORY_BIOME, "ID of the Biomes");

biomeGlistreID = GlistreMod.config.get(Configuration.CATEGORY_GENERAL, "Glistering Biome ID", 155).getInt(); 

biomeFreonID = GlistreMod.config.get(Configuration.CATEGORY_GENERAL, "Freon Biome ID", 154).getInt(); 

 

/* final String CATEGORY_DIMENSION = GlistreMod.config.CATEGORY_GENERAL + GlistreMod.config.CATEGORY_SPLITTER + "Dimensions";

GlistreMod.config.addCustomCategoryComment(CATEGORY_DIMENSION, "ID of the Dimension");

dimensionId = GlistreMod.config.get(Configuration.CATEGORY_GENERAL, "dimensionFreonId", 8).getInt();  */

 

//   genLapisInExtremeHills= config.get(Configuration.CATEGORY_GENERAL, "Generate Lapis in Extreme Hills Biome only", false).getBoolean(false);

 

if(GlistreMod.config.hasChanged()){

 

GlistreMod.config.save();

}

}

 

}

[/code]

 

Not really sure why but I had public static int biomeGlistreID ... instead of public static int biomeGlistreID = 155;

 

It's all working now ..or so it seems

 

I still have a problem in that my config file settings when I change them after launching minecraft they do not save into the config file correctly.. . ie, I have to actually edit the config file manually to change the config setting

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • As a seasoned investor, I’ve learned that the financial world can be exciting and treacherous. My experiences with investments have taught me the importance of diligence and thorough research, particularly when dealing with newer and high-risk assets like Bitcoin. Unfortunately, my journey with Bitcoin was marred by a painful lesson in the form of a scam, which I hope to share to help others avoid similar pitfalls. My introduction to Bitcoin investing seemed promising. The allure of high returns and the buzz surrounding cryptocurrency were captivating. I was drawn to several Bitcoin investment platforms that promised substantial profits. These platforms presented themselves with professional websites, attractive promotions, and genuine testimonials. I was led to believe that these sites were reliable and that I was making a sound investment. However, this trust proved to be misplaced. The platform I initially invested in showcased fake success stories and substantial profits to entice investors. They used these fabricated examples to build credibility and persuade new investors like me to commit more funds. Their tactics were sophisticated; they knew exactly how to create an illusion of success and security. I, too, was lured by their promises and gradually invested a considerable amount of money, totaling 68,000 USD.The initial investments went smoothly. My account appeared to grow with impressive returns, and I felt a sense of validation in my investment strategy. But things took a drastic turn when I decided to make a more significant investment, believing that the returns would only get better. Once I deposited a substantial sum, the platform’s behavior changed abruptly. My account was frozen without warning, and I was faced with a barrage of demands for additional payments before I could access my funds or the supposed profits. The situation was both distressing and bewildering. I was met with excuses and obstructions at every turn. It became clear that I was dealing with a fraudulent company that had no intention of honoring its commitments. The realization that I had been deceived was crushing. The emotional and financial toll of the situation was overwhelming. Determined to recover my funds, I reached out to Trust Geeks Hack Expert, a service recommended by a trusted friend who had faced a similar ordeal. My initial skepticism was tempered by desperation and hope. Trust Geeks Hack Expert took immediate action. Their team worked tirelessly to investigate the fraudulent platform and recover my lost funds. Their dedication and expertise were evident throughout the process. In just a few weeks, Trust Geeks Hack Expert managed to successfully retrieve the full amount of 68,000 USD. Their assistance was thorough and professional, and they kept me informed every step of the way. Their efforts not only resulted in the recovery of my funds but also provided me with invaluable insights into how these scams operate. This. This experience has been a harsh lesson in the importance of conducting thorough research before investing in any platform, particularly in the cryptocurrency space. The allure of high returns can be overwhelming, but it’s crucial to approach such investments with caution. Verify the legitimacy of the platform, seek out reviews from reliable sources, and ensure that any investment opportunity has a track record of transparency and reliability. To anyone who finds themselves in a similar predicament, I cannot recommend Trust Geeks Hack Expert  enough. Their professionalism and commitment to recovering my funds were exemplary:: E>mail: trustgeekshackexpert {@} fastservice{.}com -----> Tele>gram : Trustgeekshackexpert, And also  What's>App   + 1-7-1-9-4-9-2-2-6-9-3
    • As a seasoned investor, I’ve learned that the financial world can be exciting and treacherous. My experiences with investments have taught me the importance of diligence and thorough research, particularly when dealing with newer and high-risk assets like Bitcoin. Unfortunately, my journey with Bitcoin was marred by a painful lesson in the form of a scam, which I hope to share to help others avoid similar pitfalls. My introduction to Bitcoin investing seemed promising. The allure of high returns and the buzz surrounding cryptocurrency were captivating. I was drawn to several Bitcoin investment platforms that promised substantial profits. These platforms presented themselves with professional websites, attractive promotions, and genuine testimonials. I was led to believe that these sites were reliable and that I was making a sound investment. However, this trust proved to be misplaced. The platform I initially invested in showcased fake success stories and substantial profits to entice investors. They used these fabricated examples to build credibility and persuade new investors like me to commit more funds. Their tactics were sophisticated; they knew exactly how to create an illusion of success and security. I, too, was lured by their promises and gradually invested a considerable amount of money, totaling 68,000 USD.The initial investments went smoothly. My account appeared to grow with impressive returns, and I felt a sense of validation in my investment strategy. But things took a drastic turn when I decided to make a more significant investment, believing that the returns would only get better. Once I deposited a substantial sum, the platform’s behavior changed abruptly. My account was frozen without warning, and I was faced with a barrage of demands for additional payments before I could access my funds or the supposed profits. The situation was both distressing and bewildering. I was met with excuses and obstructions at every turn. It became clear that I was dealing with a fraudulent company that had no intention of honoring its commitments. The realization that I had been deceived was crushing. The emotional and financial toll of the situation was overwhelming. Determined to recover my funds, I reached out to Trust Geeks Hack Expert, a service recommended by a trusted friend who had faced a similar ordeal. My initial skepticism was tempered by desperation and hope. Trust Geeks Hack Expert took immediate action. Their team worked tirelessly to investigate the fraudulent platform and recover my lost funds. Their dedication and expertise were evident throughout the process. In just a few weeks, Trust Geeks Hack Expert managed to successfully retrieve the full amount of 68,000 USD. Their assistance was thorough and professional, and they kept me informed every step of the way. Their efforts not only resulted in the recovery of my funds but also provided me with invaluable insights into how these scams operate. This. This experience has been a harsh lesson in the importance of conducting thorough research before investing in any platform, particularly in the cryptocurrency space. The allure of high returns can be overwhelming, but it’s crucial to approach such investments with caution. Verify the legitimacy of the platform, seek out reviews from reliable sources, and ensure that any investment opportunity has a track record of transparency and reliability. To anyone who finds themselves in a similar predicament, I cannot recommend Trust Geeks Hack Expert  enough. Their professionalism and commitment to recovering my funds were exemplary:: E>mail: trustgeekshackexpert{@}fastservice{.}com -----> Tele>gram : Trustgeekshackexpert, And also  What's>App   + 1-7-1-9-4-9-2-2-6-9-3
    • I've been playing it for only 1 day and it doesn't want to go into the game anymore. I've tried reinstalling the game and repairing the game files (on curseforge) but it still doesn't work. Whenever i try to click on the Singleplayer icon, it just flickers into the world creation page and flickers back 
    • https://gist.github.com/RealMangoBot/03ce10d60ce10f126dcf2c033c3a4f46  
  • Topics

×
×
  • Create New...

Important Information

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