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