public class AddHangingEntityPacket extends BedrockPacket
| Constructor and Description |
|---|
AddHangingEntityPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getDirection() |
com.nukkitx.math.vector.Vector3f |
getPosition() |
long |
getRuntimeEntityId() |
long |
getUniqueEntityId() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setDirection(int direction) |
void |
setPosition(com.nukkitx.math.vector.Vector3f position) |
void |
setRuntimeEntityId(long runtimeEntityId) |
void |
setUniqueEntityId(long uniqueEntityId) |
String |
toString() |
getHeader, setHeaderpublic boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic long getUniqueEntityId()
public long getRuntimeEntityId()
public com.nukkitx.math.vector.Vector3f getPosition()
public int getDirection()
public void setUniqueEntityId(long uniqueEntityId)
public void setRuntimeEntityId(long runtimeEntityId)
public void setPosition(com.nukkitx.math.vector.Vector3f position)
public void setDirection(int direction)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.