public class NpcRequestPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
NpcRequestPacket.Type |
| Constructor and Description |
|---|
NpcRequestPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getActionType() |
String |
getCommand() |
NpcRequestPacket.Type |
getRequestType() |
long |
getRuntimeEntityId() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setActionType(int actionType) |
void |
setCommand(String command) |
void |
setRequestType(NpcRequestPacket.Type requestType) |
void |
setRuntimeEntityId(long runtimeEntityId) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic long getRuntimeEntityId()
public NpcRequestPacket.Type getRequestType()
public String getCommand()
public int getActionType()
public void setRuntimeEntityId(long runtimeEntityId)
public void setRequestType(NpcRequestPacket.Type requestType)
public void setCommand(String command)
public void setActionType(int actionType)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.