public class PacketPlayOutRespawn extends WrappedPacket implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
org.bukkit.Difficulty |
difficulty |
int |
dimension |
org.bukkit.GameMode |
gameMode |
WorldType |
worldType |
Constructor and Description |
---|
PacketPlayOutRespawn() |
PacketPlayOutRespawn(int dimension,
org.bukkit.Difficulty difficulty,
org.bukkit.GameMode gameMode,
WorldType worldType) |
PacketPlayOutRespawn(int dimension,
org.bukkit.World w) |
PacketPlayOutRespawn(java.lang.Object packet) |
PacketPlayOutRespawn(org.bukkit.World w) |
Modifier and Type | Method and Description |
---|---|
PacketPlayOutRespawn |
clone() |
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object packet)
Loads a Vanilla/NMS packet to this wrapper
|
toNMS
public org.bukkit.Difficulty difficulty
public int dimension
public org.bukkit.GameMode gameMode
public WorldType worldType
public PacketPlayOutRespawn(int dimension, org.bukkit.Difficulty difficulty, org.bukkit.GameMode gameMode, WorldType worldType)
public PacketPlayOutRespawn(org.bukkit.World w)
public PacketPlayOutRespawn(int dimension, org.bukkit.World w)
public PacketPlayOutRespawn()
public PacketPlayOutRespawn(java.lang.Object packet)
public PacketPlayOutRespawn clone()
clone
in class java.lang.Object
public java.lang.Object getVanillaPacket()
WrappedPacket
getVanillaPacket
in class WrappedPacket
public void loadVanillaPacket(java.lang.Object packet)
WrappedPacket
loadVanillaPacket
in class WrappedPacket
packet
- - The loadable packet