Class Part
java.lang.Object
me.legofreak107.vehiclesplus.vehicles.vehicles.objects.addons.Part
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.LocationapplyExtraOffset(org.bukkit.Location loc) voidorg.bukkit.entity.ArmorStandThe holder of the partIs this part an addon of the vehicle (Not a base part)The vehicle this seat belongs togetUID()The UID of the partThe X offset of the partThe X offset of the partThe X offset of the partvoidsetHolder(org.bukkit.entity.ArmorStand holder) The holder of the partvoidsetIsCustomPlaced(Boolean isCustomPlaced) Is this part an addon of the vehicle (Not a base part)voidsetOwningVehicle(SpawnedVehicle owningVehicle) The vehicle this seat belongs tovoidThe UID of the partvoidsetXOffset(Double xOffset) The X offset of the partvoidsetYOffset(Double yOffset) The X offset of the partvoidsetZOffset(Double zOffset) The X offset of the partvoidspawnStand(org.bukkit.Location base, SpawnedVehicle owningVehicle)
-
Constructor Details
-
Part
-
Part
public Part()
-
-
Method Details
-
spawnStand
-
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
The vehicle this seat belongs to -
setXOffset
The X offset of the part -
setYOffset
The X offset of the part -
setUID
The UID of the part -
setZOffset
The X offset of the part -
setIsCustomPlaced
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
The vehicle this seat belongs to -
getXOffset
The X offset of the part -
getYOffset
The X offset of the part -
getUID
The UID of the part -
getZOffset
The X offset of the part -
getIsCustomPlaced
Is this part an addon of the vehicle (Not a base part)
-