java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.Exhaust

public class Exhaust extends Object
The exhaust setting.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Exhaust(boolean enabled, double xOffset, double yOffset, double zOffset, org.bukkit.Particle particle)
    Creates a new Exhaust instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.Particle
    The particle itself
    double
    The x-offset of the particle
    double
    The y-offset of the particle
    double
    The z-offset of the particle
    boolean
    Is the exhaust enabled?
    void
    setEnabled(boolean enabled)
    Is the exhaust enabled?
    void
    setParticle(org.bukkit.Particle particle)
    The particle itself
    void
    setXOffset(double xOffset)
    The x-offset of the particle
    void
    setYOffset(double yOffset)
    The y-offset of the particle
    void
    setZOffset(double zOffset)
    The z-offset of the particle
    void
    spawnParticle(org.bukkit.Location holderLocation)
    Spawn the exhaust particle.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Exhaust

      public Exhaust()
    • Exhaust

      public Exhaust(boolean enabled, double xOffset, double yOffset, double zOffset, org.bukkit.Particle particle)
      Creates a new Exhaust instance.
      Parameters:
      enabled - Is the exhaust enabled?
      xOffset - The x-offset of the particle
      yOffset - The y-offset of the particle
      zOffset - The z-offset of the particle
      particle - 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

      public String toString()
      Overrides:
      toString in class Object
    • 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