public class InventorySlotPacket extends BedrockPacket
| Constructor and Description |
|---|
InventorySlotPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
ContainerId |
getContainerId() |
int |
getInventorySlot() |
ItemData |
getSlot() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setContainerId(ContainerId containerId) |
void |
setInventorySlot(int inventorySlot) |
void |
setSlot(ItemData slot) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic ContainerId getContainerId()
public int getInventorySlot()
public ItemData getSlot()
public void setContainerId(ContainerId containerId)
public void setInventorySlot(int inventorySlot)
public void setSlot(ItemData slot)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.