public class LevelEventPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
LevelEventPacket.Event |
| Constructor and Description |
|---|
LevelEventPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getData() |
LevelEventPacket.Event |
getEvent() |
com.nukkitx.math.vector.Vector3f |
getPosition() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setData(int data) |
void |
setEvent(LevelEventPacket.Event event) |
void |
setPosition(com.nukkitx.math.vector.Vector3f position) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic LevelEventPacket.Event getEvent()
public com.nukkitx.math.vector.Vector3f getPosition()
public int getData()
public void setEvent(LevelEventPacket.Event event)
public void setPosition(com.nukkitx.math.vector.Vector3f position)
public void setData(int data)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.