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.IBorderInfo
public double getMaxX()
getMaxX
in interface WorldBorder.IBorderInfo
public double getMinZ()
getMinZ
in interface WorldBorder.IBorderInfo
public double getMaxZ()
getMaxZ
in interface WorldBorder.IBorderInfo
public double getSize()
getSize
in interface WorldBorder.IBorderInfo
public BorderStatus getStatus()
getStatus
in interface WorldBorder.IBorderInfo
public double getResizeSpeed()
getResizeSpeed
in interface WorldBorder.IBorderInfo
public long getTimeUntilTarget()
getTimeUntilTarget
in interface WorldBorder.IBorderInfo
public double getTargetSize()
getTargetSize
in interface WorldBorder.IBorderInfo
private void updateBox()
public void onSizeChanged()
onSizeChanged
in interface WorldBorder.IBorderInfo
public void onCenterChanged()
onCenterChanged
in interface WorldBorder.IBorderInfo
public WorldBorder.IBorderInfo tick()
tick
in interface WorldBorder.IBorderInfo
public VoxelShape getShape()
getShape
in interface WorldBorder.IBorderInfo