Klasse BiomeCaveSound
java.lang.Object
de.freesoccerhdx.advancedworldcreatorapi.biome.BiomeCaveSound
Used to define the sounds that should be played in a biome in a cave
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungBiomeCaveSound
(org.bukkit.Sound sound, double tickchance) Creates the BiomeCaveSound object which can set to a CustomBiome -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.bukkit.Sound
getSound()
Gets the sound that should be playeddouble
Gets the chance that the sound should be played (0.0 - 1.0) per tick
-
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 playedtickchance
- 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
-