mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
add smelting default xp values
This commit is contained in:
parent
0a63e6674a
commit
7928ababf6
@ -102,4 +102,7 @@ public class ConfigExperienceMining {
|
|||||||
@Setting(value = "Mining-Experience")
|
@Setting(value = "Mining-Experience")
|
||||||
private HashMap<String, Integer> miningExperienceMap = MINING_EXPERIENCE_DEFAULT;
|
private HashMap<String, Integer> miningExperienceMap = MINING_EXPERIENCE_DEFAULT;
|
||||||
|
|
||||||
|
public HashMap<String, Integer> getMiningExperienceMap() {
|
||||||
|
return miningExperienceMap;
|
||||||
|
}
|
||||||
}
|
}
|
@ -1,8 +1,32 @@
|
|||||||
package com.gmail.nossr50.config.hocon.experience;
|
package com.gmail.nossr50.config.hocon.experience;
|
||||||
|
|
||||||
|
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 ConfigExperienceSmelting {
|
public class ConfigExperienceSmelting {
|
||||||
|
private final static HashMap<String, Integer> 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<String, Integer> smeltingExperienceMap = SMELTING_EXPERIENCE_MAP_DEFAULT;
|
||||||
|
|
||||||
|
public HashMap<String, Integer> getSmeltingExperienceMap() {
|
||||||
|
return smeltingExperienceMap;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user