-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved curiosAddHeadSlot option to common config file to fix #43 (than…
…ks to ImKatsun)
- Loading branch information
Showing
6 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package cech12.usefulhats.config; | ||
|
||
import net.minecraftforge.common.ForgeConfigSpec; | ||
|
||
public class CommonConfig { | ||
|
||
public static ForgeConfigSpec COMMON_CONFIG; | ||
|
||
public static final ForgeConfigSpec.BooleanValue CURIOS_ADD_HEAD_SLOT; | ||
|
||
static { | ||
final ForgeConfigSpec.Builder builder = new ForgeConfigSpec.Builder(); | ||
|
||
builder.comment("Some configs in relation to other mods.").push("CompatibilityOptions"); | ||
CURIOS_ADD_HEAD_SLOT = builder | ||
.comment("Whether or not a Curios head slot should be added if Curios is installed.") | ||
.define("curiosAddHeadSlot", false); | ||
builder.pop(); | ||
|
||
COMMON_CONFIG = builder.build(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters