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