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

public class BiomeMusic extends Object
Represents an Object to store Data about the Music to play in a CustomBiome
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    BiomeMusic(org.bukkit.Sound sound, int min_delay, int max_delay, boolean replace_current_music)
    Creates the BiomeMusic-Object with provided Data
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    Gets the Maximum ticks before the Music starts
    int
    Gets the Minimum ticks before the Music starts
    org.bukkit.Sound
    Gets the Sound/Music that will randomly play
    boolean
    Gets if this CustomBiome-Music will replace another playing Music or not

    Von Klasse geerbte Methoden java.lang.Object

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

    • BiomeMusic

      public BiomeMusic(org.bukkit.Sound sound, int min_delay, int max_delay, boolean replace_current_music)
      Creates the BiomeMusic-Object with provided Data
      Parameter:
      sound - The Sound/Music to play
      min_delay - Minimum ticks before Music will start
      max_delay - Maximum ticks before Music will start
      replace_current_music - Whether it will replace active Music or not
  • Methodendetails

    • getSound

      public org.bukkit.Sound getSound()
      Gets the Sound/Music that will randomly play
      Gibt zurück:
      The Sound/Music to play
    • getMinDelay

      public int getMinDelay()
      Gets the Minimum ticks before the Music starts
      Gibt zurück:
      the min delay in ticks
    • getMaxDelay

      public int getMaxDelay()
      Gets the Maximum ticks before the Music starts
      Gibt zurück:
      the max delay in ticks
    • isReplacingCurrentMusic

      public boolean isReplacingCurrentMusic()
      Gets if this CustomBiome-Music will replace another playing Music or not
      Gibt zurück:
      If replace or not