public class PlayerHotbarPacket extends BedrockPacket
| Constructor and Description |
|---|
PlayerHotbarPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getContainerId() |
int |
getSelectedHotbarSlot() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isSelectHotbarSlot() |
void |
setContainerId(int containerId) |
void |
setSelectedHotbarSlot(int selectedHotbarSlot) |
void |
setSelectHotbarSlot(boolean selectHotbarSlot) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic int getSelectedHotbarSlot()
public int getContainerId()
public boolean isSelectHotbarSlot()
public void setSelectedHotbarSlot(int selectedHotbarSlot)
public void setContainerId(int containerId)
public void setSelectHotbarSlot(boolean selectHotbarSlot)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.