Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
Add the recipe configuration file for Draconic Evolution
Updated version
  • Loading branch information
sddsd2332 committed Nov 29, 2024
1 parent d4fe003 commit eb26f40
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ show_testing_output = false

# Mod Information
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
mod_version = 9.9.1.215
mod_version = 9.9.1.216
root_package = mekanism
mod_id = mekanism
mod_name = Mekanism-CE-Unofficial
Expand Down
8 changes: 6 additions & 2 deletions src/main/java/mekanism/common/MekanismRecipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,13 @@ public static void addRecipes() {
* ADD END
*/
if (Mekanism.hooks.DraconicEvolution) {
addDRrecipes();
if (MekanismConfig.current().mekce.DRrecipes.val()){
addDRrecipes();
}
if (Mekanism.hooks.DraconicAdditions) {
addDRAdditionsrecipes();
if (MekanismConfig.current().mekce.DRAdditionsrecipes.val()) {
addDRAdditionsrecipes();
}
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/mekanism/common/config/MEKCEConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ public class MEKCEConfig extends BaseConfig {
public final FloatOption HighEjectionThreshold = new FloatOption(this, "mekce", "HighEjectionThreshold", 0.85F, "High ejection thresholds for gases and fluids, above which they are immediately output", 0, 1);
public final BooleanOption PlasticWrench = new BooleanOption(this,"mekce","PlasticWrench",false,"If true, allow the plastic to fall through the wrench");
public final BooleanOption StackingPlacementLimits = new BooleanOption(this,"mekce","StackingPlacementLimits",true,"If the number exceeds 1, it is forbidden to place blocks");
public final BooleanOption DRrecipes = new BooleanOption(this,"mekce","DRrecipes",true,"Enable the default Draconic Evolution recipe").setRequiresGameRestart(true);
public final BooleanOption DRAdditionsrecipes = new BooleanOption(this,"mekce","DRAdditionsrecipes",true,"Enable the default Draconic Additions recipe").setRequiresGameRestart(true);

@Override
public void load(Configuration config) {
Expand Down

0 comments on commit eb26f40

Please sign in to comment.