public class AddEntityPacket extends BedrockPacket
| Constructor and Description |
|---|
AddEntityPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<Attribute> |
getAttributes() |
List<EntityLink> |
getEntityLinks() |
int |
getEntityType() |
String |
getIdentifier() |
EntityDataDictionary |
getMetadata() |
com.nukkitx.math.vector.Vector3f |
getMotion() |
com.nukkitx.math.vector.Vector3f |
getPosition() |
com.nukkitx.math.vector.Vector3f |
getRotation() |
long |
getRuntimeEntityId() |
long |
getUniqueEntityId() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setEntityType(int entityType) |
void |
setIdentifier(String identifier) |
void |
setMotion(com.nukkitx.math.vector.Vector3f motion) |
void |
setPosition(com.nukkitx.math.vector.Vector3f position) |
void |
setRotation(com.nukkitx.math.vector.Vector3f rotation) |
void |
setRuntimeEntityId(long runtimeEntityId) |
void |
setUniqueEntityId(long uniqueEntityId) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic EntityDataDictionary getMetadata()
public List<EntityLink> getEntityLinks()
public long getUniqueEntityId()
public long getRuntimeEntityId()
public String getIdentifier()
public int getEntityType()
public com.nukkitx.math.vector.Vector3f getPosition()
public com.nukkitx.math.vector.Vector3f getMotion()
public com.nukkitx.math.vector.Vector3f getRotation()
public void setUniqueEntityId(long uniqueEntityId)
public void setRuntimeEntityId(long runtimeEntityId)
public void setIdentifier(String identifier)
public void setEntityType(int entityType)
public void setPosition(com.nukkitx.math.vector.Vector3f position)
public void setMotion(com.nukkitx.math.vector.Vector3f motion)
public void setRotation(com.nukkitx.math.vector.Vector3f rotation)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.