java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.rims.RimDesign
All Implemented Interfaces:
Savable

public class RimDesign extends Object implements Savable
A rim design.
  • Constructor Details

    • RimDesign

      public RimDesign(String name, org.bukkit.inventory.ItemStack skin, HolderItemPosition position, float price)
      Creates a new RimDesign instance.
      Parameters:
      name - The name of the rim design.
      skin - The skin of the rim (applied to the wheels).
      position - The position of the rim on the armorstand.
      price - The price of the rim.
    • RimDesign

      protected RimDesign()
  • Method Details

    • save

      public void save()
      Save the rim design.
      Specified by:
      save in interface Savable
    • getName

      public String getName()
      The name of the rim design.
    • getSkin

      public org.bukkit.inventory.ItemStack getSkin()
      The skin of the rim (applied to the wheels).
    • getPosition

      public HolderItemPosition getPosition()
      The position of the rim on the armorstand.
    • getPrice

      public float getPrice()
      The price of the rim.
    • setName

      public void setName(String name)
      The name of the rim design.
    • setSkin

      public void setSkin(org.bukkit.inventory.ItemStack skin)
      The skin of the rim (applied to the wheels).
    • setPosition

      public void setPosition(HolderItemPosition position)
      The position of the rim on the armorstand.
    • setPrice

      public void setPrice(float price)
      The price of the rim.