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

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

    • getSkillPoint

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

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