Class Skin
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.parts.Part
nl.sbdeveloper.vehiclesplus.api.vehicles.parts.EquipablePart
nl.sbdeveloper.vehiclesplus.api.vehicles.parts.impl.skin.Skin
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
BikeSkin
The Skin part, this is the skin of a vehicle.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSkin()
Construct a new default Skin partSkin
(double xOffset, double yOffset, double zOffset, org.bukkit.inventory.ItemStack skin, HolderItemPosition position) Construct a new Skin part -
Method Summary
Modifier and TypeMethodDescriptionasString()
Get the part as string, for the info command.org.bukkit.inventory.ItemStack
The Configuration and Addon GUI will call this method to get the item to display.Methods inherited from class nl.sbdeveloper.vehiclesplus.api.vehicles.parts.EquipablePart
canEqual, clone, equals, getColor, getItem, getPosition, hashCode, isColorable, setColor, setItem, spawnStand, toString, updateHolder
Methods inherited from class nl.sbdeveloper.vehiclesplus.api.vehicles.parts.Part
applyExtraOffset, despawnStand, getHolder, getOwningVehicle, getRotationOffset, getXOffset, getYOffset, getZOffset, isAddon, isSpawned, refresh, setAddon, setRotationOffset, setXOffset, setYOffset, setZOffset
-
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-offsetyOffset
- The y-offsetzOffset
- The z-offsetskin
- 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 classPart
- Returns:
- The item to display.
-
asString
Description copied from class:Part
Get the part as string, for the info command.
-