Package net.minecraft.world.level.border
Class WorldBorder.MovingBorderExtent
java.lang.Object
net.minecraft.world.level.border.WorldBorder.MovingBorderExtent
- All Implemented Interfaces:
WorldBorder.BorderExtent
- Enclosing class:
- WorldBorder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final long
private final double
private final long
private final double
-
Constructor Summary
-
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
-
MovingBorderExtent
MovingBorderExtent(double p_61979_, double p_61980_, long p_61981_)
-
-
Method Details
-
getMinX
public double getMinX()- Specified by:
getMinX
in interfaceWorldBorder.BorderExtent
-
getMinZ
public double getMinZ()- Specified by:
getMinZ
in interfaceWorldBorder.BorderExtent
-
getMaxX
public double getMaxX()- Specified by:
getMaxX
in interfaceWorldBorder.BorderExtent
-
getMaxZ
public double getMaxZ()- Specified by:
getMaxZ
in interfaceWorldBorder.BorderExtent
-
getSize
public double getSize()- Specified by:
getSize
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
-
getStatus
- Specified by:
getStatus
in interfaceWorldBorder.BorderExtent
-
onCenterChange
public void onCenterChange()- Specified by:
onCenterChange
in interfaceWorldBorder.BorderExtent
-
onAbsoluteMaxSizeChange
public void onAbsoluteMaxSizeChange()- Specified by:
onAbsoluteMaxSizeChange
in interfaceWorldBorder.BorderExtent
-
update
- Specified by:
update
in interfaceWorldBorder.BorderExtent
-
getCollisionShape
- Specified by:
getCollisionShape
in interfaceWorldBorder.BorderExtent
-