Enchantment config (#334)

This commit is contained in:
paulevsGitch 2021-10-26 16:49:28 +03:00
parent 3b570cd80e
commit ce7a8fc70a
4 changed files with 24 additions and 19 deletions

View file

@ -15,6 +15,7 @@ public class Configs {
public static final IdConfig BIOME_CONFIG = new EntryConfig(BetterEnd.MOD_ID, "biomes");
public static final PathConfig GENERATOR_CONFIG = new PathConfig(BetterEnd.MOD_ID, "generator", false);
public static final PathConfig RECIPE_CONFIG = new PathConfig(BetterEnd.MOD_ID, "recipes");
public static final PathConfig ENCHANTMENT_CONFIG = new PathConfig(BetterEnd.MOD_ID, "enchantments");
@Environment(value = EnvType.CLIENT)
public static final PathConfig CLENT_CONFIG = new PathConfig(BetterEnd.MOD_ID, "client", false);
@ -26,6 +27,7 @@ public class Configs {
ITEM_CONFIG.saveChanges();
GENERATOR_CONFIG.saveChanges();
RECIPE_CONFIG.saveChanges();
ENCHANTMENT_CONFIG.saveChanges();
if (BCLib.isClient()) {
CLENT_CONFIG.saveChanges();