All Implemented Interfaces:
Cloneable

public class BikeSkin extends Skin
  • Constructor Details

    • BikeSkin

      public BikeSkin()
      Construct a new default BikeSkin part.
    • BikeSkin

      public BikeSkin(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

    • applyWheelieOffset

      public void applyWheelieOffset()
      Updates the position of the skin based on the wheelie offset
    • toString

      public String toString()
      Overrides:
      toString in class EquipablePart
    • 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.
      Overrides:
      getPartGUIItem in class Skin
      Returns:
      The item to display.
    • getWheelieOffset

      public int getWheelieOffset()
      The wheelie offset of the skin
    • setWheelieOffset

      public void setWheelieOffset(int wheelieOffset)
      The wheelie offset of the skin