public class PacketPlayOutPlayerRespawn extends OutPacket
Modifier and Type | Field and Description |
---|---|
protected int |
difficulty |
protected int |
dimension |
protected int |
gameMode |
protected String |
levelType |
Constructor and Description |
---|
PacketPlayOutPlayerRespawn() |
Modifier and Type | Method and Description |
---|---|
int |
difficulty() |
int |
dimension() |
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
gameMode() |
int |
id()
Gets the ID of this packet, according to the protocol specification
|
String |
levelType() |
decode, direction, handleReceived, set
protected int dimension
protected int difficulty
protected int gameMode
public PacketPlayOutPlayerRespawn()
public int id()
Packet
public int dimension()
public int difficulty()
public int gameMode()
Copyright © 2016. All rights reserved.