mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-04-06 11:46:24 +02:00
19 lines
598 B
Java
19 lines
598 B
Java
package com.gmail.nossr50.skills.smelting;
|
|
|
|
import com.gmail.nossr50.datatypes.skills.SubSkillType;
|
|
import com.gmail.nossr50.mcMMO;
|
|
import com.gmail.nossr50.util.skills.RankUtils;
|
|
import org.bukkit.entity.Player;
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
public class Smelting {
|
|
|
|
public static int getRank(Player player) {
|
|
return RankUtils.getRank(player, SubSkillType.SMELTING_UNDERSTANDING_THE_ART);
|
|
}
|
|
|
|
protected static int getResourceXp(ItemStack smelting) {
|
|
return mcMMO.getDynamicSettingsManager().getExperienceManager().getFurnaceItemXP(smelting.getType());
|
|
}
|
|
}
|