public class TransferPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
TransferPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
TransferPacket |
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 |
getAddress() |
@Nullable GatheringsConfigurationJoinInfo |
getGatheringsConfigurationJoinInfo() |
BedrockPacketType |
getPacketType() |
int |
getPort() |
@Nullable TransferPlayerUIOptions |
getTransferPlayerUIOptions() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isReloadWorld() |
void |
setAddress(java.lang.String address) |
void |
setGatheringsConfigurationJoinInfo(@Nullable GatheringsConfigurationJoinInfo gatheringsConfigurationJoinInfo) |
void |
setPort(int port) |
void |
setReloadWorld(boolean reloadWorld) |
void |
setTransferPlayerUIOptions(@Nullable TransferPlayerUIOptions transferPlayerUIOptions) |
java.lang.String |
toString() |
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic TransferPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic java.lang.String getAddress()
public int getPort()
public boolean isReloadWorld()
public @Nullable GatheringsConfigurationJoinInfo getGatheringsConfigurationJoinInfo()
public @Nullable TransferPlayerUIOptions getTransferPlayerUIOptions()
public void setAddress(java.lang.String address)
public void setPort(int port)
public void setReloadWorld(boolean reloadWorld)
public void setGatheringsConfigurationJoinInfo(@Nullable GatheringsConfigurationJoinInfo gatheringsConfigurationJoinInfo)
public void setTransferPlayerUIOptions(@Nullable TransferPlayerUIOptions transferPlayerUIOptions)
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