public class CodeBuilderSourcePacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
CodeBuilderSourcePacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
CodeBuilderSourcePacket |
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) |
CodeBuilderCategoryType |
getCategory() |
CodeBuilderCodeStatus |
getCodeStatus() |
CodeBuilderOperationType |
getOperation() |
BedrockPacketType |
getPacketType() |
java.lang.String |
getValue()
Deprecated.
since v685
|
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setCategory(CodeBuilderCategoryType category) |
void |
setCodeStatus(CodeBuilderCodeStatus codeStatus) |
void |
setOperation(CodeBuilderOperationType operation) |
void |
setValue(java.lang.String value)
Deprecated.
since v685
|
java.lang.String |
toString() |
public org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic CodeBuilderSourcePacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic CodeBuilderOperationType getOperation()
public CodeBuilderCategoryType getCategory()
@Deprecated public java.lang.String getValue()
public CodeBuilderCodeStatus getCodeStatus()
public void setOperation(CodeBuilderOperationType operation)
public void setCategory(CodeBuilderCategoryType category)
@Deprecated public void setValue(java.lang.String value)
public void setCodeStatus(CodeBuilderCodeStatus codeStatus)
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