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
class WorldBorder.StationaryBorderInfo extends java.lang.Object implements WorldBorder.IBorderInfo
-
-
Constructor Summary
Constructors Constructor Description StationaryBorderInfo(double p_i49837_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoxelShapegetCollisionShape()longgetLerpRemainingTime()doublegetLerpSpeed()doublegetLerpTarget()doublegetMaxX()doublegetMaxZ()doublegetMinX()doublegetMinZ()doublegetSize()BorderStatusgetStatus()voidonAbsoluteMaxSizeChange()voidonCenterChange()WorldBorder.IBorderInfoupdate()private voidupdateBox()
-
-
-
Field Detail
-
size
private final double size
-
minX
private double minX
-
minZ
private double minZ
-
maxX
private double maxX
-
maxZ
private double maxZ
-
shape
private VoxelShape shape
-
-
Method Detail
-
getMinX
public double getMinX()
- Specified by:
getMinXin interfaceWorldBorder.IBorderInfo
-
getMaxX
public double getMaxX()
- Specified by:
getMaxXin interfaceWorldBorder.IBorderInfo
-
getMinZ
public double getMinZ()
- Specified by:
getMinZin interfaceWorldBorder.IBorderInfo
-
getMaxZ
public double getMaxZ()
- Specified by:
getMaxZin interfaceWorldBorder.IBorderInfo
-
getSize
public double getSize()
- Specified by:
getSizein interfaceWorldBorder.IBorderInfo
-
getStatus
public BorderStatus getStatus()
- Specified by:
getStatusin interfaceWorldBorder.IBorderInfo
-
getLerpSpeed
public double getLerpSpeed()
- Specified by:
getLerpSpeedin interfaceWorldBorder.IBorderInfo
-
getLerpRemainingTime
public long getLerpRemainingTime()
- Specified by:
getLerpRemainingTimein interfaceWorldBorder.IBorderInfo
-
getLerpTarget
public double getLerpTarget()
- Specified by:
getLerpTargetin interfaceWorldBorder.IBorderInfo
-
updateBox
private void updateBox()
-
onAbsoluteMaxSizeChange
public void onAbsoluteMaxSizeChange()
- Specified by:
onAbsoluteMaxSizeChangein interfaceWorldBorder.IBorderInfo
-
onCenterChange
public void onCenterChange()
- Specified by:
onCenterChangein interfaceWorldBorder.IBorderInfo
-
update
public WorldBorder.IBorderInfo update()
- Specified by:
updatein interfaceWorldBorder.IBorderInfo
-
getCollisionShape
public VoxelShape getCollisionShape()
- Specified by:
getCollisionShapein interfaceWorldBorder.IBorderInfo
-
-