Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package marikc0.optionals;
- public class OreGenInfo {
- /*
- * Set up minimums and maximums for Ore Generation parameters.
- *
- * Check the Configuration File and prevent any parameters from going out of bounds.
- */
- // Anthracite Ore
- public static int Anthracite_Size;
- public static int Anthracite_Chance;
- public static int Anthracite_Min;
- public static int Anthracite_Max;
- if(ConfigHandler.Anthracite_Size > 15) { Anthracite_Size = 15; } else { Anthracite_Size = ConfigHandler.Anthracite_Size; }
- if(ConfigHandler.Anthracite_Chance > 15) { Anthracite_Chance = 15; } else { Anthracite_Chance = ConfigHandler.Anthracite_Chance; }
- if(ConfigHandler.Anthracite_Min > 50) { Anthracite_Min = 50; } else { Anthracite_Min = ConfigHandler.Anthracite_Min; }
- if(ConfigHandler.Anthracite_Max > 200) { Anthracite_Max = 200; } else { Anthracite_Max = ConfigHandler.Anthracite_Max; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement