public class CreativeContentPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
CreativeContentPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
ItemData[] |
getContents()
Item entries for the creative menu.
|
BedrockPacketType |
getPacketType() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setContents(ItemData[] contents)
Item entries for the creative menu.
|
java.lang.String |
toString() |
public org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic ItemData[] getContents()
ItemData.setNetId(int)public void setContents(ItemData[] contents)
ItemData.setNetId(int)public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object