Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package chris.chrispymod.config;
- import net.minecraftforge.common.ForgeConfigSpec;
- public class OreGenConfig
- {
- public static ForgeConfigSpec.IntValue ruby_chance;
- public static ForgeConfigSpec.IntValue opal_chance;
- public static ForgeConfigSpec.IntValue tangerine_chance;
- public static ForgeConfigSpec.IntValue cobalt_chance;
- public static ForgeConfigSpec.BooleanValue generate_overworld;
- public static void init(ForgeConfigSpec.Builder server, ForgeConfigSpec.Builder client)
- {
- server.comment("Oregen Config");
- ruby_chance = server
- .comment("Maximum number of Ruby Ore veins that can spawn in one chunk.")
- .defineInRange("oregen.ruby_chance", 8, 1, 1000);
- opal_chance = server
- .comment("Maximum number of Opal Ore veins that can spawn in one chunk.")
- .defineInRange("oregen.opal_chance", 12, 1, 1000);
- tangerine_chance = server
- .comment("Maximum number of Tangerine Ore veins that can spawn in one chunk.")
- .defineInRange("oregen.tangerine_chance", 10, 1, 1000);
- cobalt_chance = server
- .comment("Maximum number of Cobalt Ore veins that can spawn in one chunk.")
- .defineInRange("oregen.tangerine_chance", 8, 1, 1000);
- generate_overworld = server
- .comment("Decide if you want Ruby Ore to spawn in overworld.")
- .define("oregen.generate_overworld", true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment