class WorldBorder.StationaryBorderInfo extends java.lang.Object implements WorldBorder.IBorderInfo
| Modifier and Type | Field and Description |
|---|---|
private double |
maxX |
private double |
maxZ |
private double |
minX |
private double |
minZ |
private VoxelShape |
shape |
private double |
size |
| Constructor and Description |
|---|
StationaryBorderInfo(double p_i49837_2_) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMaxX() |
double |
getMaxZ() |
double |
getMinX() |
double |
getMinZ() |
double |
getResizeSpeed() |
VoxelShape |
getShape() |
double |
getSize() |
BorderStatus |
getStatus() |
double |
getTargetSize() |
long |
getTimeUntilTarget() |
void |
onCenterChanged() |
void |
onSizeChanged() |
WorldBorder.IBorderInfo |
tick() |
private void |
updateBox() |
private final double size
private double minX
private double minZ
private double maxX
private double maxZ
private VoxelShape shape
public double getMinX()
getMinX in interface WorldBorder.IBorderInfopublic double getMaxX()
getMaxX in interface WorldBorder.IBorderInfopublic double getMinZ()
getMinZ in interface WorldBorder.IBorderInfopublic double getMaxZ()
getMaxZ in interface WorldBorder.IBorderInfopublic double getSize()
getSize in interface WorldBorder.IBorderInfopublic BorderStatus getStatus()
getStatus in interface WorldBorder.IBorderInfopublic double getResizeSpeed()
getResizeSpeed in interface WorldBorder.IBorderInfopublic long getTimeUntilTarget()
getTimeUntilTarget in interface WorldBorder.IBorderInfopublic double getTargetSize()
getTargetSize in interface WorldBorder.IBorderInfoprivate void updateBox()
public void onSizeChanged()
onSizeChanged in interface WorldBorder.IBorderInfopublic void onCenterChanged()
onCenterChanged in interface WorldBorder.IBorderInfopublic WorldBorder.IBorderInfo tick()
tick in interface WorldBorder.IBorderInfopublic VoxelShape getShape()
getShape in interface WorldBorder.IBorderInfo