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
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final long
private final double
private final long
private final double
-
Constructor Summary
ModifierConstructorDescriptionprivate
MovingBorderInfo
(double p_i49838_2_, double p_i49838_4_, long p_i49838_6_) -
Method Summary
-
Field Details
-
from
private final double from -
to
private final double to -
lerpEnd
private final long lerpEnd -
lerpBegin
private final long lerpBegin -
lerpDuration
private final double lerpDuration
-
-
Constructor Details
-
MovingBorderInfo
private MovingBorderInfo(double p_i49838_2_, double p_i49838_4_, long p_i49838_6_)
-
-
Method Details
-
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
- 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
- Specified by:
update
in interfaceWorldBorder.IBorderInfo
-
getCollisionShape
- Specified by:
getCollisionShape
in interfaceWorldBorder.IBorderInfo
-