All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
BikeSkin

public class Skin extends EquipablePart
The Skin part, this is the skin of a vehicle.
  • Constructor Details

    • Skin

      public Skin()
      Construct a new default Skin part
    • Skin

      public Skin(double xOffset, double yOffset, double zOffset, org.bukkit.inventory.ItemStack skin, HolderItemPosition position)
      Construct a new Skin part
      Parameters:
      xOffset - The x-offset
      yOffset - The y-offset
      zOffset - The z-offset
      skin - The skin of the rotor
  • Method Details

    • getPartGUIItem

      public org.bukkit.inventory.ItemStack getPartGUIItem()
      Description copied from class: Part
      The Configuration and Addon GUI will call this method to get the item to display.
      Specified by:
      getPartGUIItem in class Part
      Returns:
      The item to display.
    • asString

      public String asString()
      Description copied from class: Part
      Get the part as string, for the info command.
      Specified by:
      asString in class Part
      Returns:
      The part as string.