public class BlockEventPacket extends Object implements 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() |
PacketSignal |
handle(BedrockPacketHandler handler) |
public final PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketCopyright © 2018–2022 CloudburstMC. All rights reserved.