public class AddItemEntityPacket extends BedrockPacket
| Constructor and Description |
|---|
AddItemEntityPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
ItemData |
getItemInHand() |
EntityDataDictionary |
getMetadata() |
com.nukkitx.math.vector.Vector3f |
getMotion() |
com.nukkitx.math.vector.Vector3f |
getPosition() |
long |
getRuntimeEntityId() |
long |
getUniqueEntityId() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isFromFishing() |
void |
setFromFishing(boolean fromFishing) |
void |
setItemInHand(ItemData itemInHand) |
void |
setMotion(com.nukkitx.math.vector.Vector3f motion) |
void |
setPosition(com.nukkitx.math.vector.Vector3f position) |
void |
setRuntimeEntityId(long runtimeEntityId) |
void |
setUniqueEntityId(long uniqueEntityId) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic EntityDataDictionary getMetadata()
public long getUniqueEntityId()
public long getRuntimeEntityId()
public ItemData getItemInHand()
public com.nukkitx.math.vector.Vector3f getPosition()
public com.nukkitx.math.vector.Vector3f getMotion()
public boolean isFromFishing()
public void setUniqueEntityId(long uniqueEntityId)
public void setRuntimeEntityId(long runtimeEntityId)
public void setItemInHand(ItemData itemInHand)
public void setPosition(com.nukkitx.math.vector.Vector3f position)
public void setMotion(com.nukkitx.math.vector.Vector3f motion)
public void setFromFishing(boolean fromFishing)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.