Class BiomeParticle

java.lang.Object
de.freesoccerhdx.advancedworldcreatorapi.biome.BiomeParticle

public class BiomeParticle extends Object
Represents an Object to store the Particle-Type and how many Particles will appear in a CustomBiome
  • Constructor Summary

    Constructors
    Constructor
    Description
    BiomeParticle(org.bukkit.Particle particle, float quantity)
    Creates the BiomeParticle-Object with provided Parameters
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.Particle
    Gets the provided Particle-Type
    float
    Gets the Quantity of the Particle in a CustomBiome Higher Value means more Particles

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BiomeParticle

      public BiomeParticle(org.bukkit.Particle particle, float quantity)
      Creates the BiomeParticle-Object with provided Parameters
      Parameters:
      particle - - The Particle-Type to use
      quantity - - The Spawning-QUantity
  • Method Details

    • getQuantity

      public float getQuantity()
      Gets the Quantity of the Particle in a CustomBiome Higher Value means more Particles
      Returns:
      The Quantity
    • getParticle

      public org.bukkit.Particle getParticle()
      Gets the provided Particle-Type
      Returns:
      The Particle-Type