public class BlockEventPacket extends BedrockPacket
eventType: (Instrument)data: 0-15
- 0 (Piano)
- 1 (Base Drum)
- 2 (Sticks)
- 3 (Drum)
- 4 (Bass)
eventType: 1 (Chest open/closed)
data: 0 or 1
eventType: 1 (Cool down)
data: n/a
| Constructor and Description |
|---|
BlockEventPacket() |
| Modifier and Type | Method and Description |
|---|---|
BedrockPacketType |
getPacketType() |
boolean |
handle(BedrockPacketHandler handler) |
public final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in class BedrockPacketCopyright © 2018–2022 NukkitX. All rights reserved.