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
|
toNMSpublic 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.Objectpublic java.lang.Object getVanillaPacket()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object packet)
WrappedPacketloadVanillaPacket in class WrappedPacketpacket - - The loadable packet