class WorldBorder.MovingBorderInfo extends java.lang.Object implements WorldBorder.IBorderInfo
| Modifier and Type | Field and Description |
|---|---|
private long |
endTime |
private double |
newSize |
private double |
oldSize |
private long |
startTime |
private double |
transitionTime |
| Modifier | Constructor and Description |
|---|---|
private |
MovingBorderInfo(double p_i49838_2_,
double p_i49838_4_,
long p_i49838_6_) |
| 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 final double oldSize
private final double newSize
private final long endTime
private final long startTime
private final double transitionTime
private MovingBorderInfo(double p_i49838_2_,
double p_i49838_4_,
long p_i49838_6_)
public double getMinX()
getMinX in interface WorldBorder.IBorderInfopublic double getMinZ()
getMinZ in interface WorldBorder.IBorderInfopublic double getMaxX()
getMaxX in interface WorldBorder.IBorderInfopublic double getMaxZ()
getMaxZ in interface WorldBorder.IBorderInfopublic double getSize()
getSize in interface WorldBorder.IBorderInfopublic double getResizeSpeed()
getResizeSpeed in interface WorldBorder.IBorderInfopublic long getTimeUntilTarget()
getTimeUntilTarget in interface WorldBorder.IBorderInfopublic double getTargetSize()
getTargetSize in interface WorldBorder.IBorderInfopublic BorderStatus getStatus()
getStatus in interface WorldBorder.IBorderInfopublic void onCenterChanged()
onCenterChanged in interface WorldBorder.IBorderInfopublic void onSizeChanged()
onSizeChanged in interface WorldBorder.IBorderInfopublic WorldBorder.IBorderInfo tick()
tick in interface WorldBorder.IBorderInfopublic VoxelShape getShape()
getShape in interface WorldBorder.IBorderInfo