public class PacketPlayOutWorldBorder extends WrappedPacket
Modifier and Type | Class and Description |
---|---|
static class |
PacketPlayOutWorldBorder.WorldBorderAction |
Modifier and Type | Field and Description |
---|---|
PacketPlayOutWorldBorder.WorldBorderAction |
action |
double |
centerX |
double |
centerZ |
double |
newRadius |
double |
oldRadius |
int |
portalTeleportBoundary |
long |
time |
int |
warningBlocks |
int |
warningTime |
Constructor and Description |
---|
PacketPlayOutWorldBorder() |
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 PacketPlayOutWorldBorder.WorldBorderAction action
public double centerX
public double centerZ
public double newRadius
public double oldRadius
public int portalTeleportBoundary
public long time
public int warningBlocks
public int warningTime
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