public class SRespawnPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private DimensionType |
dimensionID |
private int |
dimensionInt |
private GameType |
gameType |
private long |
hashedSeed |
private WorldType |
worldType |
Constructor and Description |
---|
SRespawnPacket() |
SRespawnPacket(DimensionType p_i226091_1_,
long p_i226091_2_,
WorldType p_i226091_4_,
GameType p_i226091_5_) |
Modifier and Type | Method and Description |
---|---|
DimensionType |
getDimension() |
GameType |
getGameType() |
long |
getHashedSeed() |
WorldType |
getWorldType() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private DimensionType dimensionID
private long hashedSeed
private GameType gameType
private WorldType worldType
private int dimensionInt
public SRespawnPacket()
public SRespawnPacket(DimensionType p_i226091_1_, long p_i226091_2_, WorldType p_i226091_4_, GameType p_i226091_5_)
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public DimensionType getDimension()
public long getHashedSeed()
public GameType getGameType()
public WorldType getWorldType()