mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 06:36:45 +01:00
new mob config "creatures.conf"
This commit is contained in:
parent
bd0a4c75c0
commit
7cd8099d3c
@ -15,6 +15,7 @@ import com.gmail.nossr50.config.hocon.hardcore.ConfigHardcore;
|
||||
import com.gmail.nossr50.config.hocon.items.ConfigItems;
|
||||
import com.gmail.nossr50.config.hocon.language.ConfigLanguage;
|
||||
import com.gmail.nossr50.config.hocon.metrics.ConfigMetrics;
|
||||
import com.gmail.nossr50.config.hocon.mobs.ConfigMobs;
|
||||
import com.gmail.nossr50.config.hocon.motd.ConfigMOTD;
|
||||
import com.gmail.nossr50.config.hocon.notifications.ConfigNotifications;
|
||||
import com.gmail.nossr50.config.hocon.particles.ConfigParticles;
|
||||
@ -103,6 +104,7 @@ public final class ConfigManager {
|
||||
private SerializedConfigLoader<ConfigNotifications> configNotifications;
|
||||
private SerializedConfigLoader<ConfigSuperAbilities> configSuperAbilities;
|
||||
private SerializedConfigLoader<ConfigAdmin> configAdmin;
|
||||
private SerializedConfigLoader<ConfigMobs> configMobs;
|
||||
|
||||
//Data
|
||||
private SerializedConfigLoader<ConfigPartyData> partyData;
|
||||
@ -164,6 +166,7 @@ public final class ConfigManager {
|
||||
configNotifications = new SerializedConfigLoader<>(ConfigNotifications.class, "chat_and_hud_notifications.conf", null);
|
||||
configSuperAbilities = new SerializedConfigLoader<>(ConfigSuperAbilities.class, "skill_super_abilities.conf", null);
|
||||
configAdmin = new SerializedConfigLoader<>(ConfigAdmin.class, "admin.conf", null);
|
||||
configMobs = new SerializedConfigLoader<>(ConfigMobs.class, "creatures.conf", null);
|
||||
|
||||
//Serialized Data
|
||||
partyData = new SerializedConfigLoader<>(ConfigPartyData.class, "partydata.conf", null);
|
||||
@ -431,4 +434,12 @@ public final class ConfigManager {
|
||||
public HashMap<String, Integer> getPartyFeatureUnlocks() {
|
||||
return partyFeatureUnlocks;
|
||||
}
|
||||
|
||||
public ConfigAdmin getConfigAdmin() {
|
||||
return configAdmin.getConfig();
|
||||
}
|
||||
|
||||
public ConfigMobs getConfigMobs() {
|
||||
return configMobs.getConfig();
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.gmail.nossr50.config.hocon.mobs;
|
||||
|
||||
import ninja.leaping.configurate.objectmapping.Setting;
|
||||
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||
|
||||
@ConfigSerializable
|
||||
public class ConfigMobs {
|
||||
|
||||
@Setting(value = "Combat", comment = "Settings related to combat with Mobs (Monsters / Animals / Etc)")
|
||||
private ConfigSectionCombat combat = new ConfigSectionCombat();
|
||||
|
||||
public ConfigSectionCombat getCombat() {
|
||||
return combat;
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
package com.gmail.nossr50.config.hocon.mobs;
|
||||
|
||||
@ConfigSerializable
|
||||
public class ConfigSectionCombat {
|
||||
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
package com.gmail.nossr50.config.hocon.mobs;
|
||||
|
||||
@ConfigSerializable
|
||||
public class ConfigSectionHealthBars {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user