All Superinterfaces:
ITranslatable, ITranslatable.WithDescription

public interface ISkill extends ITranslatable.WithDescription
Interface representing a skill.
  • Field Details

  • Method Details

    • getOcculusTab

      net.minecraft.resources.ResourceLocation getOcculusTab()
      Returns:
      The id of the occulus tab this skill belongs to.
    • getParents

      Set<net.minecraft.resources.ResourceLocation> getParents()
      Returns:
      The ids of this skill's parents.
    • getX

      int getX()
      Returns:
      The x coordinate of this skill.
    • getY

      int getY()
      Returns:
      The y coordinate of this skill.
    • getCost

      Map<net.minecraft.resources.ResourceLocation,Integer> getCost()
      Returns:
      The cost for learning this skill.
    • isHidden

      boolean isHidden()
      Returns:
      Whether this skill is hidden or not.
    • getType

      default String getType()
      Specified by:
      getType in interface ITranslatable
      Returns:
      The type of this object, for example "block" or "item".