mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
xp config pt 4
This commit is contained in:
parent
aecc90fa33
commit
ba180ebae3
@ -3,6 +3,8 @@ package com.gmail.nossr50.config.hocon.experience;
|
|||||||
import ninja.leaping.configurate.objectmapping.Setting;
|
import ninja.leaping.configurate.objectmapping.Setting;
|
||||||
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
|
||||||
@ConfigSerializable
|
@ConfigSerializable
|
||||||
public class ConfigExperience {
|
public class ConfigExperience {
|
||||||
|
|
||||||
@ -42,6 +44,10 @@ public class ConfigExperience {
|
|||||||
@Setting(value = "Z-Combat", comment = "XP Settings for Combat")
|
@Setting(value = "Z-Combat", comment = "XP Settings for Combat")
|
||||||
private ConfigExperienceCombat experienceCombat = new ConfigExperienceCombat();
|
private ConfigExperienceCombat experienceCombat = new ConfigExperienceCombat();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* BOILER PLATE GETTERS
|
||||||
|
*/
|
||||||
|
|
||||||
public ConfigExperienceAcrobatics getExperienceAcrobatics() {
|
public ConfigExperienceAcrobatics getExperienceAcrobatics() {
|
||||||
return experienceAcrobatics;
|
return experienceAcrobatics;
|
||||||
}
|
}
|
||||||
@ -89,4 +95,16 @@ public class ConfigExperience {
|
|||||||
public ConfigExperienceCombat getExperienceCombat() {
|
public ConfigExperienceCombat getExperienceCombat() {
|
||||||
return experienceCombat;
|
return experienceCombat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public HashMap<String, Integer> getAcrobaticsXPMap() {
|
||||||
|
return experienceAcrobatics.getAcrobaticsXPMap();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getFeatherFallMultiplier() {
|
||||||
|
return experienceAcrobatics.getFeatherFallMultiplier();
|
||||||
|
}
|
||||||
|
|
||||||
|
public HashMap<String, Integer> getAlchemyXPMap() {
|
||||||
|
return experienceAlchemy.getAlchemyXPMap();
|
||||||
|
}
|
||||||
}
|
}
|
@ -9,7 +9,7 @@ import java.util.HashMap;
|
|||||||
public class ConfigExperienceAcrobatics {
|
public class ConfigExperienceAcrobatics {
|
||||||
|
|
||||||
private final static HashMap<String, Integer> ACROBATICS_DEFAULT_XP_MAP;
|
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 {
|
static {
|
||||||
ACROBATICS_DEFAULT_XP_MAP = new HashMap<>();
|
ACROBATICS_DEFAULT_XP_MAP = new HashMap<>();
|
||||||
@ -29,4 +29,8 @@ public class ConfigExperienceAcrobatics {
|
|||||||
public HashMap<String, Integer> getAcrobaticsXPMap() {
|
public HashMap<String, Integer> getAcrobaticsXPMap() {
|
||||||
return acrobaticsXPMap;
|
return acrobaticsXPMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Double getFeatherFallMultiplier() {
|
||||||
|
return featherFallMultiplier;
|
||||||
|
}
|
||||||
}
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceArchery {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceCombat {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceExcavation {
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceFishing {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceHerbalism {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceMining {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceRepair {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceSmelting {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceTaming {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
||||||
|
|
||||||
|
@ConfigSerializable
|
||||||
|
public class ConfigExperienceWoodcutting {
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user