Class Exhaust
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.Exhaust
The exhaust setting.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.Particle
The particle itselfdouble
The x-offset of the particledouble
The y-offset of the particledouble
The z-offset of the particleboolean
Is the exhaust enabled?void
setEnabled
(boolean enabled) Is the exhaust enabled?void
setParticle
(org.bukkit.Particle particle) The particle itselfvoid
setXOffset
(double xOffset) The x-offset of the particlevoid
setYOffset
(double yOffset) The y-offset of the particlevoid
setZOffset
(double zOffset) The z-offset of the particlevoid
spawnParticle
(org.bukkit.Location holderLocation) Spawn the exhaust particle.toString()
-
Constructor Details
-
Exhaust
public Exhaust() -
Exhaust
public Exhaust(boolean enabled, double xOffset, double yOffset, double zOffset, org.bukkit.Particle particle) Creates a newExhaust
instance.- Parameters:
enabled
- Is the exhaust enabled?xOffset
- The x-offset of the particleyOffset
- The y-offset of the particlezOffset
- The z-offset of the particleparticle
- The particle itself
-
-
Method Details
-
spawnParticle
public void spawnParticle(org.bukkit.Location holderLocation) Spawn the exhaust particle.- Parameters:
holderLocation
- The location to spawn the particle at.
-
toString
-
isEnabled
public boolean isEnabled()Is the exhaust enabled? -
getXOffset
public double getXOffset()The x-offset of the particle -
getYOffset
public double getYOffset()The y-offset of the particle -
getZOffset
public double getZOffset()The z-offset of the particle -
getParticle
public org.bukkit.Particle getParticle()The particle itself -
setEnabled
public void setEnabled(boolean enabled) Is the exhaust enabled? -
setXOffset
public void setXOffset(double xOffset) The x-offset of the particle -
setYOffset
public void setYOffset(double yOffset) The y-offset of the particle -
setZOffset
public void setZOffset(double zOffset) The z-offset of the particle -
setParticle
public void setParticle(org.bukkit.Particle particle) The particle itself
-