Klasse BiomeCaveSound

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

public class BiomeCaveSound extends Object
Used to define the sounds that should be played in a biome in a cave
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    BiomeCaveSound(org.bukkit.Sound sound, double tickchance)
    Creates the BiomeCaveSound object which can set to a CustomBiome
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    org.bukkit.Sound
    Gets the sound that should be played
    double
    Gets the chance that the sound should be played (0.0 - 1.0) per tick

    Von Klasse geerbte Methoden java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • BiomeCaveSound

      public BiomeCaveSound(org.bukkit.Sound sound, double tickchance)
      Creates the BiomeCaveSound object which can set to a CustomBiome
      Parameter:
      sound - The sound that should be played
      tickchance - The chance that the sound should be played (0.0 - 1.0)
  • Methodendetails

    • getSound

      public org.bukkit.Sound getSound()
      Gets the sound that should be played
      Gibt zurück:
      the sound
    • getTickChance

      public double getTickChance()
      Gets the chance that the sound should be played (0.0 - 1.0) per tick
      Gibt zurück:
      the tickchance