public class ClientboundDataDrivenUIShowScreenPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
ClientboundDataDrivenUIShowScreenPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
ClientboundDataDrivenUIShowScreenPacket |
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) |
@Nullable java.lang.Integer |
getDataInstanceId()
The optional id of the data associated with this screen
|
int |
getFormId()
The unique id of this instance of the form for tracking in scripting
|
BedrockPacketType |
getPacketType() |
java.lang.String |
getScreenId() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setDataInstanceId(@Nullable java.lang.Integer dataInstanceId)
The optional id of the data associated with this screen
|
void |
setFormId(int formId)
The unique id of this instance of the form for tracking in scripting
|
void |
setScreenId(java.lang.String screenId) |
java.lang.String |
toString() |
public ClientboundDataDrivenUIShowScreenPacket()
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic ClientboundDataDrivenUIShowScreenPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic java.lang.String getScreenId()
public int getFormId()
public @Nullable java.lang.Integer getDataInstanceId()
public void setScreenId(java.lang.String screenId)
public void setFormId(int formId)
public void setDataInstanceId(@Nullable java.lang.Integer dataInstanceId)
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