diff --git a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceMining.java b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceMining.java index ff31b2f31..49d9ee1e2 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceMining.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceMining.java @@ -102,4 +102,7 @@ public class ConfigExperienceMining { @Setting(value = "Mining-Experience") private HashMap miningExperienceMap = MINING_EXPERIENCE_DEFAULT; + public HashMap getMiningExperienceMap() { + return miningExperienceMap; + } } \ No newline at end of file diff --git a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceSmelting.java b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceSmelting.java index a263f1a5e..fecb8f594 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceSmelting.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceSmelting.java @@ -1,8 +1,32 @@ 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 ConfigExperienceSmelting { + private final static HashMap SMELTING_EXPERIENCE_MAP_DEFAULT; + static { + SMELTING_EXPERIENCE_MAP_DEFAULT = new HashMap<>(); + + SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:coal_ore", 10); + SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:diamond_ore", 75); + SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:emerald_ore", 100); + SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:gold_ore", 35); + SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:iron_ore", 25); + SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:lapis_ore", 40); + SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:nether_quartz_ore", 25); + SMELTING_EXPERIENCE_MAP_DEFAULT.put("minecraft:redstone_ore", 15); + } + + + @Setting(value = "Smelting-XP-Values") + private HashMap smeltingExperienceMap = SMELTING_EXPERIENCE_MAP_DEFAULT; + + public HashMap getSmeltingExperienceMap() { + return smeltingExperienceMap; + } } \ No newline at end of file