Constructor and Description |
---|
PacketTeleportPlayer()
New PacketTeleportPlayer (In)
|
PacketTeleportPlayer(java.util.UUID player,
java.lang.String server,
JSONCallback... callback)
New PacketTeleportPlayer (Out)
|
Modifier and Type | Method and Description |
---|---|
void |
execute(org.json.JSONObject data)
Execute Incoming Packet
|
org.json.JSONObject |
generate()
Generate JSON Packet Contents
|
Version |
getVersion()
Get Packet Version
|
public PacketTeleportPlayer()
public PacketTeleportPlayer(java.util.UUID player, java.lang.String server, JSONCallback... callback)
player
- Player to teleportserver
- Where to gocallback
- Callbackspublic org.json.JSONObject generate()
PacketOut
public void execute(org.json.JSONObject data)
PacketIn
public Version getVersion()
PacketIn
getVersion
in interface PacketIn
getVersion
in interface PacketOut