public interface ISkillPointItem
Represents an item that has an skill point in the stack
  • Method Summary

    Modifier and Type
    Method
    Description
    default ISkillPoint
    getSkillPoint(net.minecraft.world.item.ItemStack stack)
    Get the ISkillPoint stored in the ItemStack.
    default net.minecraft.world.item.ItemStack
    setSkillPoint(net.minecraft.world.item.ItemStack stack, ISkillPoint skillPoint)
    Set the ISkillPoint stored in the ItemStack
  • Method Details

    • getSkillPoint

      default ISkillPoint getSkillPoint(net.minecraft.world.item.ItemStack stack)
      Get the ISkillPoint stored in the ItemStack.
      Parameters:
      stack - the ItemStack that has the ISkillPoint stored in it
      Returns:
      the stored ISkillPoint
    • setSkillPoint

      default net.minecraft.world.item.ItemStack setSkillPoint(net.minecraft.world.item.ItemStack stack, ISkillPoint skillPoint)
      Set the ISkillPoint stored in the ItemStack
      Parameters:
      stack - the ItemStack to set the ISkillPoint for
      skillPoint - the ISkillPoint to set
      Returns:
      the ItemStack with the ISkillPoint stored in it