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 VoxelShape
getCollisionShape()
long
getLerpRemainingTime()
double
getLerpSpeed()
double
getLerpTarget()
double
getMaxX()
double
getMaxZ()
double
getMinX()
double
getMinZ()
double
getSize()
BorderStatus
getStatus()
void
onAbsoluteMaxSizeChange()
void
onCenterChange()
WorldBorder.IBorderInfo
update()
private void
updateBox()
-
-
-
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:
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
public BorderStatus 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
public WorldBorder.IBorderInfo update()
- Specified by:
update
in interfaceWorldBorder.IBorderInfo
-
getCollisionShape
public VoxelShape getCollisionShape()
- Specified by:
getCollisionShape
in interfaceWorldBorder.IBorderInfo
-
-