public class ServerboundLoadingScreenPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
ServerboundLoadingScreenPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
ServerboundLoadingScreenPacket |
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.Integer |
getLoadingScreenId()
Optional int, not present if null
|
BedrockPacketType |
getPacketType() |
ServerboundLoadingScreenPacketType |
getType() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setLoadingScreenId(java.lang.Integer loadingScreenId)
Optional int, not present if null
|
void |
setType(ServerboundLoadingScreenPacketType type) |
java.lang.String |
toString() |
public org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic ServerboundLoadingScreenPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic ServerboundLoadingScreenPacketType getType()
public java.lang.Integer getLoadingScreenId()
public void setType(ServerboundLoadingScreenPacketType type)
public void setLoadingScreenId(java.lang.Integer loadingScreenId)
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