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.ParticleThe particle itselfdoubleThe x-offset of the particledoubleThe y-offset of the particledoubleThe z-offset of the particlebooleanIs the exhaust enabled?voidsetEnabled(boolean enabled) Is the exhaust enabled?voidsetParticle(org.bukkit.Particle particle) The particle itselfvoidsetXOffset(double xOffset) The x-offset of the particlevoidsetYOffset(double yOffset) The y-offset of the particlevoidsetZOffset(double zOffset) The z-offset of the particlevoidspawnParticle(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 newExhaustinstance.- 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
-