Interface ISkillPointItem
public interface ISkillPointItem
Represents an item that has an skill point in the stack
-
Method Summary
Modifier and TypeMethodDescriptiondefault SkillPointgetSkillPoint(net.minecraft.world.item.ItemStack stack) Get theSkillPointstored in theItemStack.default net.minecraft.world.item.ItemStacksetSkillPoint(net.minecraft.world.item.ItemStack stack, SkillPoint skillPoint) Set theSkillPointstored in theItemStack
-
Method Details
-
getSkillPoint
Get theSkillPointstored in theItemStack.- Parameters:
stack- theItemStackthat has theSkillPointstored in it- Returns:
- the stored
SkillPoint
-
setSkillPoint
default net.minecraft.world.item.ItemStack setSkillPoint(net.minecraft.world.item.ItemStack stack, SkillPoint skillPoint) Set theSkillPointstored in theItemStack- Parameters:
stack- theItemStackto set theSkillPointforskillPoint- theSkillPointto set- Returns:
- the
ItemStackwith theSkillPointstored in it
-