forked from vfx-dev/Right-Proper-MCPatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExtraConfig.java
More file actions
59 lines (53 loc) · 2.03 KB
/
Copy pathExtraConfig.java
File metadata and controls
59 lines (53 loc) · 2.03 KB
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
/*
* Right Proper MCPatcher
*
* Copyright (C) 2025 FalsePattern
* All Rights Reserved
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, only version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.falsepattern.mcpatcher.internal.config;
import com.falsepattern.lib.config.Config;
import com.falsepattern.lib.config.ConfigurationManager;
import com.falsepattern.mcpatcher.Tags;
import lombok.NoArgsConstructor;
@Config.Comment("Additional Runtime Configurations")
@Config.LangKey
@Config(modid = Tags.MOD_ID,
category = "02_extras")
@NoArgsConstructor
public final class ExtraConfig {
//@formatter:off
@Config.Comment({"Disable this if you don't want Natural Textures configuration files from multiple resource packs to 'stack' on top of each other in order of priority.",
"If true, the total set of Natural Textures will be created using all resource packs in the chain.",
"If false, only the highest priority 'natural.properties' file will be used."})
@Config.LangKey
@Config.Name("naturalTexturesStack")
@Config.DefaultBoolean(true)
public static boolean naturalTexturesStack;
//@formatter:on
// region Init
static {
ConfigurationManager.selfInit();
ModuleConfig.init();
}
/**
* This is here to make the static initializer run
*/
public static void init() {
}
// endregion
}