程序包 org.bukkit
接口 SoundGroup
public interface SoundGroup
Represents a group of sounds for blocks that are played when various actions
happen (ie stepping, breaking, hitting, etc).
-
方法概要
修饰符和类型方法说明Gets the corresponding breaking sound for this group.Gets the corresponding fall sound for this group.Gets the corresponding hit sound for this group.float
getPitch()
Gets the pitch these sounds are played at.Gets the corresponding place sound for this group.Gets the corresponding step sound for this group.float
Get the volume these sounds are played at.
-
方法详细资料
-
getVolume
float getVolume()Get the volume these sounds are played at. Note that this volume does not always represent the actual volume received by the client.- 返回:
- volume
-
getPitch
float getPitch()Gets the pitch these sounds are played at. Note that this pitch does not always represent the actual pitch received by the client.- 返回:
- pitch
-
getBreakSound
Gets the corresponding breaking sound for this group.- 返回:
- the break sound
-
getStepSound
Gets the corresponding step sound for this group.- 返回:
- the step sound
-
getPlaceSound
Gets the corresponding place sound for this group.- 返回:
- the place sound
-
getHitSound
Gets the corresponding hit sound for this group.- 返回:
- the hit sound
-
getFallSound
Gets the corresponding fall sound for this group.- 返回:
- the fall sound
-