java.lang.Object
me.legofreak107.vehiclesplus.vehicles.vehicles.objects.addons.Part
Direct Known Subclasses:
Colorable, Seat

public class Part extends Object
  • Constructor Details

    • Part

      public Part(Double xOffset, Double yOffset, Double zOffset)
    • Part

      public Part()
  • Method Details

    • spawnStand

      public void spawnStand(org.bukkit.Location base, SpawnedVehicle owningVehicle)
    • despawnStand

      public void despawnStand()
    • applyExtraOffset

      public org.bukkit.Location applyExtraOffset(org.bukkit.Location loc)
    • setHolder

      public void setHolder(org.bukkit.entity.ArmorStand holder)
      The holder of the part
    • setOwningVehicle

      public void setOwningVehicle(SpawnedVehicle owningVehicle)
      The vehicle this seat belongs to
    • setXOffset

      public void setXOffset(Double xOffset)
      The X offset of the part
    • setYOffset

      public void setYOffset(Double yOffset)
      The X offset of the part
    • setUID

      public void setUID(String UID)
      The UID of the part
    • setZOffset

      public void setZOffset(Double zOffset)
      The X offset of the part
    • setIsCustomPlaced

      public void setIsCustomPlaced(Boolean isCustomPlaced)
      Is this part an addon of the vehicle (Not a base part)
    • getHolder

      public org.bukkit.entity.ArmorStand getHolder()
      The holder of the part
    • getOwningVehicle

      public SpawnedVehicle getOwningVehicle()
      The vehicle this seat belongs to
    • getXOffset

      public Double getXOffset()
      The X offset of the part
    • getYOffset

      public Double getYOffset()
      The X offset of the part
    • getUID

      public String getUID()
      The UID of the part
    • getZOffset

      public Double getZOffset()
      The X offset of the part
    • getIsCustomPlaced

      public Boolean getIsCustomPlaced()
      Is this part an addon of the vehicle (Not a base part)