public class AddPaintingPacket extends AddHangingEntityPacket
| Constructor and Description |
|---|
AddPaintingPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
AddPaintingPacket |
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) |
java.lang.String |
getMotive() |
BedrockPacketType |
getPacketType() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setMotive(java.lang.String motive) |
java.lang.String |
toString() |
getDirection, getPosition, getRuntimeEntityId, getUniqueEntityId, setDirection, setPosition, setRuntimeEntityId, setUniqueEntityIdpublic final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPackethandle in class AddHangingEntityPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketgetPacketType in class AddHangingEntityPacketpublic AddPaintingPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class AddHangingEntityPacketpublic java.lang.String getMotive()
public void setMotive(java.lang.String motive)
public boolean equals(java.lang.Object o)
equals in class AddHangingEntityPacketprotected boolean canEqual(java.lang.Object other)
canEqual in class AddHangingEntityPacketpublic int hashCode()
hashCode in class AddHangingEntityPacketpublic java.lang.String toString()
toString in class AddHangingEntityPacket