Package net.minecraft.world.border
Class WorldBorder.StationaryBorderInfo
java.lang.Object
net.minecraft.world.border.WorldBorder.StationaryBorderInfo
- All Implemented Interfaces:
WorldBorder.IBorderInfo
- Enclosing class:
- WorldBorder
-
Field Details
-
size
private final double size -
minX
private double minX -
minZ
private double minZ -
maxX
private double maxX -
maxZ
private double maxZ -
shape
-
-
Constructor Details
-
StationaryBorderInfo
public StationaryBorderInfo(double p_i49837_2_)
-
-
Method Details
-
getMinX
public double getMinX()- Specified by:
getMinX
in interfaceWorldBorder.IBorderInfo
-
getMaxX
public double getMaxX()- Specified by:
getMaxX
in interfaceWorldBorder.IBorderInfo
-
getMinZ
public double getMinZ()- Specified by:
getMinZ
in interfaceWorldBorder.IBorderInfo
-
getMaxZ
public double getMaxZ()- Specified by:
getMaxZ
in interfaceWorldBorder.IBorderInfo
-
getSize
public double getSize()- Specified by:
getSize
in interfaceWorldBorder.IBorderInfo
-
getStatus
- Specified by:
getStatus
in interfaceWorldBorder.IBorderInfo
-
getLerpSpeed
public double getLerpSpeed()- Specified by:
getLerpSpeed
in interfaceWorldBorder.IBorderInfo
-
getLerpRemainingTime
public long getLerpRemainingTime()- Specified by:
getLerpRemainingTime
in interfaceWorldBorder.IBorderInfo
-
getLerpTarget
public double getLerpTarget()- Specified by:
getLerpTarget
in interfaceWorldBorder.IBorderInfo
-
updateBox
private void updateBox() -
onAbsoluteMaxSizeChange
public void onAbsoluteMaxSizeChange()- Specified by:
onAbsoluteMaxSizeChange
in interfaceWorldBorder.IBorderInfo
-
onCenterChange
public void onCenterChange()- Specified by:
onCenterChange
in interfaceWorldBorder.IBorderInfo
-
update
- Specified by:
update
in interfaceWorldBorder.IBorderInfo
-
getCollisionShape
- Specified by:
getCollisionShape
in interfaceWorldBorder.IBorderInfo
-