One more config
This commit is contained in:
parent
bb0e54ad25
commit
ef333d4dca
6 changed files with 399 additions and 290 deletions
|
@ -1,17 +1,17 @@
|
|||
package ru.betterend.config;
|
||||
|
||||
public class Configs {
|
||||
public static final IdConfig ITEM_CONFIG = new CategoryConfig("items");
|
||||
public static final IdConfig BLOCK_CONFIG = new CategoryConfig("blocks");
|
||||
public static final IdConfig ENTITY_CONFIG = new CategoryConfig("entities");
|
||||
public static final IdConfig BLOCK_CONFIG = new CategoryConfig("blocks");
|
||||
public static final SimpleConfig GENERAL = new SimpleConfig("settings");
|
||||
public static final IdConfig ITEM_CONFIG = new CategoryConfig("items");
|
||||
public static final IdConfig BIOME_CONFIG = new EntryConfig("biomes");
|
||||
public static final SimpleConfig GENERATOR_CONFIG = new SimpleConfig("generator");
|
||||
|
||||
public static void saveConfigs() {
|
||||
ITEM_CONFIG.saveChanges();
|
||||
ENTITY_CONFIG.saveChanges();
|
||||
BLOCK_CONFIG.saveChanges();
|
||||
BIOME_CONFIG.saveChanges();
|
||||
ENTITY_CONFIG.saveChanges();
|
||||
GENERATOR_CONFIG.save();
|
||||
ITEM_CONFIG.saveChanges();
|
||||
GENERAL.saveChanges();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue