Class SRespawnPacket
java.lang.Object
net.minecraft.network.play.server.SRespawnPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RegistryKey<World>private DimensionTypeprivate booleanprivate booleanprivate booleanprivate GameTypeprivate GameTypeprivate long -
Constructor Summary
ConstructorsConstructorDescriptionSRespawnPacket(DimensionType p_i242084_1_, RegistryKey<World> p_i242084_2_, long p_i242084_3_, GameType p_i242084_5_, GameType p_i242084_6_, boolean p_i242084_7_, boolean p_i242084_8_, boolean p_i242084_9_) -
Method Summary
Modifier and TypeMethodDescriptionlonggetSeed()voidhandle(IClientPlayNetHandler p_148833_1_) booleanisDebug()booleanisFlat()voidread(PacketBuffer p_148837_1_) booleanvoidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
dimensionType
-
dimension
-
seed
private long seed -
playerGameType
-
previousPlayerGameType
-
isDebug
private boolean isDebug -
isFlat
private boolean isFlat -
keepAllPlayerData
private boolean keepAllPlayerData
-
-
Constructor Details
-
SRespawnPacket
public SRespawnPacket() -
SRespawnPacket
public SRespawnPacket(DimensionType p_i242084_1_, RegistryKey<World> p_i242084_2_, long p_i242084_3_, GameType p_i242084_5_, GameType p_i242084_6_, boolean p_i242084_7_, boolean p_i242084_8_, boolean p_i242084_9_)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceIPacket<IClientPlayNetHandler>
-
read
- Specified by:
readin interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
getDimensionType
-
getDimension
-
getSeed
public long getSeed() -
getPlayerGameType
-
getPreviousPlayerGameType
-
isDebug
public boolean isDebug() -
isFlat
public boolean isFlat() -
shouldKeepAllPlayerData
public boolean shouldKeepAllPlayerData()
-