Java Code Examples for cn.nukkit.network.protocol.LevelEventPacket#EVENT_SOUND_BUTTON_CLICK
The following examples show how to use
cn.nukkit.network.protocol.LevelEventPacket#EVENT_SOUND_BUTTON_CLICK .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ButtonClickSound.java From Jupiter with GNU General Public License v3.0 | 4 votes |
public ButtonClickSound(Vector3 pos, float pitch) { super(pos, LevelEventPacket.EVENT_SOUND_BUTTON_CLICK, pitch); }
Example 2
Source File: LeverSound.java From Jupiter with GNU General Public License v3.0 | 4 votes |
public LeverSound(Vector3 pos, boolean isPowerOn) { super(pos, LevelEventPacket.EVENT_SOUND_BUTTON_CLICK, isPowerOn ? 0.6f : 0.5f); }