public class PacketPlayOutLogin extends WrappedPacket
Modifier and Type | Field and Description |
---|---|
org.bukkit.Difficulty |
difficulty |
int |
dimension
Dimension -1: Nether 0: Overworld 1: End
|
int |
entityId |
org.bukkit.GameMode |
gameMode |
boolean |
hardcore |
WorldType |
levelType |
int |
maxPlayers |
boolean |
reducedDebugInfo |
Constructor and Description |
---|
PacketPlayOutLogin() |
Modifier and Type | Method and Description |
---|---|
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 int entityId
public org.bukkit.GameMode gameMode
public boolean hardcore
public WorldType levelType
public int maxPlayers
public boolean reducedDebugInfo
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