Taming default XP values + updated acrobatics XP values

This commit is contained in:
nossr50 2019-04-24 18:58:29 -07:00
parent 7928ababf6
commit b8ad722e9e
3 changed files with 31 additions and 4 deletions

View File

@ -13,9 +13,9 @@ public class ConfigExperienceAcrobatics {
static {
ACROBATICS_DEFAULT_XP_MAP = new HashMap<>();
ACROBATICS_DEFAULT_XP_MAP.put("Dodge", 480);
ACROBATICS_DEFAULT_XP_MAP.put("Roll", 80);
ACROBATICS_DEFAULT_XP_MAP.put("Fall", 120);
ACROBATICS_DEFAULT_XP_MAP.put("Dodge", 800);
ACROBATICS_DEFAULT_XP_MAP.put("Roll", 600);
ACROBATICS_DEFAULT_XP_MAP.put("Fall", 600);
}
@Setting(value = "Acrobatics-Experience-Values", comment = "Experience values for Acrobatics.")

View File

@ -22,7 +22,6 @@ public class ConfigExperienceSmelting {
SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:redstone_ore", 15);
}
@Setting(value = "Smelting-XP-Values")
private HashMap<String, Integer> smeltingExperienceMap = SMELTING_EXPERIENCE_MAP_DEFAULT;

View File

@ -1,8 +1,36 @@
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 ConfigExperienceTaming {
private final static HashMap<String, Integer> TAMING_EXPERIENCE_DEFAULT;
static {
TAMING_EXPERIENCE_DEFAULT = new HashMap<>();
TAMING_EXPERIENCE_DEFAULT.put("wolf", 250);
TAMING_EXPERIENCE_DEFAULT.put("ocelot", 500);
TAMING_EXPERIENCE_DEFAULT.put("cat", 500);
TAMING_EXPERIENCE_DEFAULT.put("horse", 1000);
TAMING_EXPERIENCE_DEFAULT.put("donkey", 1000);
TAMING_EXPERIENCE_DEFAULT.put("mule", 1000);
TAMING_EXPERIENCE_DEFAULT.put("skeleton_horse", 1000);
TAMING_EXPERIENCE_DEFAULT.put("zombie_horse", 1000);
TAMING_EXPERIENCE_DEFAULT.put("llama", 1200);
TAMING_EXPERIENCE_DEFAULT.put("parrot", 1100);
TAMING_EXPERIENCE_DEFAULT.put("fox", 1000);
TAMING_EXPERIENCE_DEFAULT.put("panda", 1000);
}
@Setting(value = "Taming-XP-Values")
private HashMap<String, Integer> tamingExperienceMap = TAMING_EXPERIENCE_DEFAULT;
public HashMap<String, Integer> getTamingExperienceMap() {
return tamingExperienceMap;
}
}