Package net.minecraft.world.border
Class WorldBorder.MovingBorderInfo
- java.lang.Object
-
- net.minecraft.world.border.WorldBorder.MovingBorderInfo
-
- All Implemented Interfaces:
WorldBorder.IBorderInfo
- Enclosing class:
- WorldBorder
class WorldBorder.MovingBorderInfo extends java.lang.Object implements WorldBorder.IBorderInfo
-
-
Field Summary
Fields Modifier and Type Field Description private double
from
private long
lerpBegin
private double
lerpDuration
private long
lerpEnd
private double
to
-
Constructor Summary
Constructors Modifier Constructor Description private
MovingBorderInfo(double p_i49838_2_, double p_i49838_4_, long p_i49838_6_)
-
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()
-
-
-
Method Detail
-
getMinX
public double getMinX()
- Specified by:
getMinX
in interfaceWorldBorder.IBorderInfo
-
getMinZ
public double getMinZ()
- Specified by:
getMinZ
in interfaceWorldBorder.IBorderInfo
-
getMaxX
public double getMaxX()
- Specified by:
getMaxX
in interfaceWorldBorder.IBorderInfo
-
getMaxZ
public double getMaxZ()
- Specified by:
getMaxZ
in interfaceWorldBorder.IBorderInfo
-
getSize
public double getSize()
- Specified by:
getSize
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
-
getStatus
public BorderStatus getStatus()
- Specified by:
getStatus
in interfaceWorldBorder.IBorderInfo
-
onCenterChange
public void onCenterChange()
- Specified by:
onCenterChange
in interfaceWorldBorder.IBorderInfo
-
onAbsoluteMaxSizeChange
public void onAbsoluteMaxSizeChange()
- Specified by:
onAbsoluteMaxSizeChange
in interfaceWorldBorder.IBorderInfo
-
update
public WorldBorder.IBorderInfo update()
- Specified by:
update
in interfaceWorldBorder.IBorderInfo
-
getCollisionShape
public VoxelShape getCollisionShape()
- Specified by:
getCollisionShape
in interfaceWorldBorder.IBorderInfo
-
-