public class ServerWorldBorderPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerWorldBorderPacket(double radius) |
ServerWorldBorderPacket(double centerX,
double centerY) |
ServerWorldBorderPacket(double centerX,
double centerY,
double oldRadius,
double newRadius,
long speed,
int portalTeleportBoundary,
int warningTime,
int warningBlocks) |
ServerWorldBorderPacket(double oldRadius,
double newRadius,
long speed) |
ServerWorldBorderPacket(int warning,
boolean time) |
| Modifier and Type | Method and Description |
|---|---|
WorldBorderAction |
getAction() |
double |
getCenterX() |
double |
getCenterY() |
double |
getNewRadius() |
double |
getOldRadius() |
int |
getPortalTeleportBoundary() |
double |
getRadius() |
long |
getSpeed() |
int |
getWarningBlocks() |
int |
getWarningTime() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerWorldBorderPacket(double radius)
public ServerWorldBorderPacket(double oldRadius,
double newRadius,
long speed)
public ServerWorldBorderPacket(double centerX,
double centerY)
public ServerWorldBorderPacket(double centerX,
double centerY,
double oldRadius,
double newRadius,
long speed,
int portalTeleportBoundary,
int warningTime,
int warningBlocks)
public ServerWorldBorderPacket(int warning,
boolean time)
public WorldBorderAction getAction()
public double getRadius()
public double getOldRadius()
public double getNewRadius()
public long getSpeed()
public double getCenterX()
public double getCenterY()
public int getPortalTeleportBoundary()
public int getWarningTime()
public int getWarningBlocks()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.