public class ContainerOpenPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
ContainerOpenPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
ContainerOpenPacket |
clone()
Creates a new instance of this packet using Object.clone()
Will throw a
UnsupportedOperationException if the packet implements ReferenceCounted |
boolean |
equals(java.lang.Object o) |
org.cloudburstmc.math.vector.Vector3i |
getBlockPosition() |
byte |
getId() |
BedrockPacketType |
getPacketType() |
ContainerType |
getType() |
long |
getUniqueEntityId() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setBlockPosition(org.cloudburstmc.math.vector.Vector3i blockPosition) |
void |
setId(byte id) |
void |
setType(ContainerType type) |
void |
setUniqueEntityId(long uniqueEntityId) |
java.lang.String |
toString() |
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic ContainerOpenPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic byte getId()
public ContainerType getType()
public org.cloudburstmc.math.vector.Vector3i getBlockPosition()
public long getUniqueEntityId()
public void setId(byte id)
public void setType(ContainerType type)
public void setBlockPosition(org.cloudburstmc.math.vector.Vector3i blockPosition)
public void setUniqueEntityId(long uniqueEntityId)
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