xp config pt 4

This commit is contained in:
nossr50 2019-04-09 20:31:26 -07:00
parent aecc90fa33
commit ba180ebae3
12 changed files with 101 additions and 1 deletions

View File

@ -3,6 +3,8 @@ package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.Setting;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
import java.util.HashMap;
@ConfigSerializable
public class ConfigExperience {
@ -42,6 +44,10 @@ public class ConfigExperience {
@Setting(value = "Z-Combat", comment = "XP Settings for Combat")
private ConfigExperienceCombat experienceCombat = new ConfigExperienceCombat();
/*
* BOILER PLATE GETTERS
*/
public ConfigExperienceAcrobatics getExperienceAcrobatics() {
return experienceAcrobatics;
}
@ -89,4 +95,16 @@ public class ConfigExperience {
public ConfigExperienceCombat getExperienceCombat() {
return experienceCombat;
}
public HashMap<String, Integer> getAcrobaticsXPMap() {
return experienceAcrobatics.getAcrobaticsXPMap();
}
public Double getFeatherFallMultiplier() {
return experienceAcrobatics.getFeatherFallMultiplier();
}
public HashMap<String, Integer> getAlchemyXPMap() {
return experienceAlchemy.getAlchemyXPMap();
}
}

View File

@ -9,7 +9,7 @@ import java.util.HashMap;
public class ConfigExperienceAcrobatics {
private final static HashMap<String, Integer> ACROBATICS_DEFAULT_XP_MAP;
public static final double FEATHER_FALL_MULTIPLIER_DEFAULT = 2.0D;
private static final double FEATHER_FALL_MULTIPLIER_DEFAULT = 2.0D;
static {
ACROBATICS_DEFAULT_XP_MAP = new HashMap<>();
@ -29,4 +29,8 @@ public class ConfigExperienceAcrobatics {
public HashMap<String, Integer> getAcrobaticsXPMap() {
return acrobaticsXPMap;
}
public Double getFeatherFallMultiplier() {
return featherFallMultiplier;
}
}

View File

@ -0,0 +1,8 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceArchery {
}

View File

@ -0,0 +1,8 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceCombat {
}

View File

@ -0,0 +1,7 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceExcavation {
}

View File

@ -0,0 +1,8 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceFishing {
}

View File

@ -0,0 +1,8 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceHerbalism {
}

View File

@ -0,0 +1,8 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceMining {
}

View File

@ -0,0 +1,8 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceRepair {
}

View File

@ -0,0 +1,8 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceSmelting {
}

View File

@ -0,0 +1,8 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceTaming {
}

View File

@ -0,0 +1,7 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
public class ConfigExperienceWoodcutting {
}