typesforbukkit
Version:
Types For Bukkit
28 lines (20 loc) • 1.12 kB
text/typescript
// API Link: https://tfb.neocities.org/1.16.5/org/bukkit/SoundGroup
namespace org.bukkit {
/** @description Represents a group of sounds for blocks that are played when various actions happen (ie stepping, breaking, hitting, etc) */
export interface SoundGroup {
/** @description Gets the corresponding breaking sound for this group. */
getBreakSound() : org.bukkit.Sound;
/** @description Gets the corresponding fall sound for this group. */
getFallSound() : org.bukkit.Sound;
/** @description Gets the corresponding hit sound for this group. */
getHitSound() : org.bukkit.Sound;
/** @description Gets the pitch these sounds are played at. */
getPitch() : float;
/** @description Gets the corresponding place sound for this group. */
getPlaceSound() : org.bukkit.Sound;
/** @description Gets the corresponding step sound for this group. */
getStepSound() : org.bukkit.Sound;
/** @description Get the volume these sounds are played at. */
getVolume() : float;
}
}