Generator config
This commit is contained in:
parent
9a41dc8670
commit
078139a26f
5 changed files with 44 additions and 22 deletions
|
@ -13,11 +13,15 @@ public class Configs {
|
|||
public static final IdConfig ENTITY_CONFIG = new IdConfig("entities", (entityId, category) -> {
|
||||
return new ConfigKey(entityId.getNamespace(), category, entityId.getPath());
|
||||
});
|
||||
public static final IdConfig GENERATOR_CONFIG = new IdConfig("generator", (entityId, category) -> {
|
||||
return new ConfigKey(entityId.getNamespace(), category, entityId.getPath());
|
||||
});
|
||||
|
||||
public static void saveConfigs() {
|
||||
ITEM_CONFIG.saveChanges();
|
||||
BLOCK_CONFIG.saveChanges();
|
||||
BIOME_CONFIG.saveChanges();
|
||||
ENTITY_CONFIG.saveChanges();
|
||||
GENERATOR_CONFIG.saveChanges();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue