-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Support for Enhanced Farming - EnhancedFarmingConfig & EnhancedFarming Configuration - EnhancedFarming CommonSetup - EnhancedFarming ModBlocks - EnhancedFarming ClientSetup - EnhancedFarming CommonEvents - EnhancedFarming WildCropGeneration - EnhancedFarming Wildplants - EnhancedFarming Translations - EnhancedFarming ItemResources (JSON) - Reformatting ImmersiveEngineeringConfig - Reformatting MinecraftConfig - Reformatting VeggieWayConfig - ModBlocks now always load when mod is loaded - ModItems now always go through renderpipeline when mod is loaded - bumped version
- Loading branch information
1 parent
c817163
commit 374c929
Showing
35 changed files
with
1,078 additions
and
67 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
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
98 changes: 98 additions & 0 deletions
98
src/main/java/wks/wolfkidsounds/wildplants/config/EnhancedFarmingConfig.java
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,98 @@ | ||
package wks.wolfkidsounds.wildplants.config; | ||
|
||
import net.minecraftforge.common.ForgeConfigSpec; | ||
import wks.wolfkidsounds.wildplants.Wildplants; | ||
|
||
public class EnhancedFarmingConfig { | ||
public static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder(); | ||
public static final ForgeConfigSpec SPEC; | ||
|
||
//ENHANCEDFARMING | ||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_MINT; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_MINT; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_TOMATO; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_TOMATO; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_CUCUMBER; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_CUCUMBER; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_AUBERGINE; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_AUBERGINE; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_GRAPE; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_GRAPE; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_PINEAPPLE; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_PINEAPPLE; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_CORN; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_CORN; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_ONION; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_ONION; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_GARLIC; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_GARLIC; | ||
|
||
public static ForgeConfigSpec.ConfigValue<Integer> CHANCE_ENHANCEDFARMING_WILD_LETTUCE; | ||
public static ForgeConfigSpec.BooleanValue GENERATE_ENHANCEDFARMING_WILD_LETTUCE; | ||
|
||
static { | ||
Wildplants.LOGGER.debug("init-enhancedfarming-feature-config"); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD MINT"); | ||
GENERATE_ENHANCEDFARMING_WILD_MINT = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_MINT = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD TOMATO"); | ||
GENERATE_ENHANCEDFARMING_WILD_TOMATO = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_TOMATO = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD CUCUMBER"); | ||
GENERATE_ENHANCEDFARMING_WILD_CUCUMBER = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_CUCUMBER = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD AUBERGINE"); | ||
GENERATE_ENHANCEDFARMING_WILD_AUBERGINE = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_AUBERGINE = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD GRAPE"); | ||
GENERATE_ENHANCEDFARMING_WILD_GRAPE = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_GRAPE = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD PINEAPPLE"); | ||
GENERATE_ENHANCEDFARMING_WILD_PINEAPPLE = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_PINEAPPLE = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD CORN"); | ||
GENERATE_ENHANCEDFARMING_WILD_CORN = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_CORN = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD ONION"); | ||
GENERATE_ENHANCEDFARMING_WILD_ONION = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_ONION = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD GARLIC"); | ||
GENERATE_ENHANCEDFARMING_WILD_GARLIC = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_GARLIC = BUILDER.comment("SMALLER=MORE - Default [64]").define("Patch Size: ", 1); | ||
BUILDER.pop(); | ||
|
||
BUILDER.push("ENHANCEDFARMING WILD LETTUCE"); | ||
GENERATE_ENHANCEDFARMING_WILD_LETTUCE = BUILDER.define("Enabled:", true); | ||
CHANCE_ENHANCEDFARMING_WILD_LETTUCE = BUILDER.comment("SMALLER=MORE - Default [64]").defineInRange("Chance:", 64, 0, Integer.MAX_VALUE); | ||
BUILDER.pop(); | ||
|
||
|
||
SPEC = 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
Oops, something went wrong.