aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/config/Worldgen.java
blob: 274d59a7744fc2f73132c320164b4a608cb76124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package gregtech.common.config;

import com.gtnewhorizon.gtnhlib.config.Config;

import gregtech.api.enums.Mods;

@Config(
    modid = Mods.Names.GREG_TECH,
    category = "worldgen",
    configSubDirectory = "GregTech",
    filename = "WorldGeneration")
@Config.LangKey("GT5U.gui.config.worldgen")
public class Worldgen {

    public static General general = new General();
    public static EndAsteroids endAsteroids = new EndAsteroids();

    @Config.LangKey("GT5U.gui.config.worldgen.end_asteroids")
    public static class EndAsteroids {

        @Config.Comment("The maximum size for the end asteroids.")
        @Config.DefaultInt(200)
        @Config.RequiresMcRestart
        public int EndAsteroidMaxSize;

        @Config.Comment("The minimum size for the end asteroids.")
        @Config.DefaultInt(200)
        @Config.RequiresMcRestart
        public int EndAsteroidMinSize;

        @Config.Comment("The probability weight to generate end asteroids.")
        @Config.DefaultInt(300)
        @Config.RequiresMcRestart
        public int EndAsteroidProbability;

        @Config.Comment("if true, enables end asteroids.")
        @Config.DefaultBoolean(true)
        @Config.RequiresMcRestart
        public boolean generateEndAsteroids;
    }

    @Config.LangKey("GT5U.gui.config.worldgen.general")
    public static class General {

        @Config.Comment("if true, enables basalt ore gen.")
        @Config.DefaultBoolean(true)
        @Config.RequiresMcRestart
        public boolean generateBasaltOres;

        @Config.Comment("if true, enables black granite ore gen.")
        @Config.DefaultBoolean(true)
        @Config.RequiresMcRestart
        public boolean generateBlackGraniteOres;

        @Config.Comment("if true, enables marble ore gen.")
        @Config.DefaultBoolean(true)
        @Config.RequiresMcRestart
        public boolean generateMarbleOres;

        @Config.Comment("if true, enables red granite ore gen.")
        @Config.DefaultBoolean(true)
        @Config.RequiresMcRestart
        public boolean generateRedGraniteOres;

        @Config.Comment("If true, disables vanilla oregen.")
        @Config.DefaultBoolean(true)
        @Config.RequiresMcRestart
        public boolean disableVanillaOres;

        @Config.Comment("if true, enables underground dirt gen. Does nothing if the vanilla oregen is enabled!")
        @Config.DefaultBoolean(true)
        @Config.RequiresMcRestart
        public boolean generateUndergroundDirtGen;

        @Config.Comment("if true, enables underground gravel gen. Does nothing if the vanilla oregen is enabled!")
        @Config.DefaultBoolean(true)
        @Config.RequiresMcRestart
        public boolean generateUndergroundGravelGen;
    }
}