Package net.minecraft.world.level.border
Class WorldBorder.StaticBorderExtent
java.lang.Object
net.minecraft.world.level.border.WorldBorder.StaticBorderExtent
- All Implemented Interfaces:
WorldBorder.BorderExtent
- 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
-
StaticBorderExtent
public StaticBorderExtent(double p_62059_)
-
-
Method Details
-
getMinX
public double getMinX()- Specified by:
getMinX
in interfaceWorldBorder.BorderExtent
-
getMaxX
public double getMaxX()- Specified by:
getMaxX
in interfaceWorldBorder.BorderExtent
-
getMinZ
public double getMinZ()- Specified by:
getMinZ
in interfaceWorldBorder.BorderExtent
-
getMaxZ
public double getMaxZ()- Specified by:
getMaxZ
in interfaceWorldBorder.BorderExtent
-
getSize
public double getSize()- Specified by:
getSize
in interfaceWorldBorder.BorderExtent
-
getStatus
- Specified by:
getStatus
in interfaceWorldBorder.BorderExtent
-
getLerpSpeed
public double getLerpSpeed()- Specified by:
getLerpSpeed
in interfaceWorldBorder.BorderExtent
-
getLerpRemainingTime
public long getLerpRemainingTime()- Specified by:
getLerpRemainingTime
in interfaceWorldBorder.BorderExtent
-
getLerpTarget
public double getLerpTarget()- Specified by:
getLerpTarget
in interfaceWorldBorder.BorderExtent
-
updateBox
private void updateBox() -
onAbsoluteMaxSizeChange
public void onAbsoluteMaxSizeChange()- Specified by:
onAbsoluteMaxSizeChange
in interfaceWorldBorder.BorderExtent
-
onCenterChange
public void onCenterChange()- Specified by:
onCenterChange
in interfaceWorldBorder.BorderExtent
-
update
- Specified by:
update
in interfaceWorldBorder.BorderExtent
-
getCollisionShape
- Specified by:
getCollisionShape
in interfaceWorldBorder.BorderExtent
-