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
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final longprivate final doubleprivate final longprivate final double -
Constructor Summary
Constructors -
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:
getMinXin interfaceWorldBorder.BorderExtent
-
getMinZ
public double getMinZ()- Specified by:
getMinZin interfaceWorldBorder.BorderExtent
-
getMaxX
public double getMaxX()- Specified by:
getMaxXin interfaceWorldBorder.BorderExtent
-
getMaxZ
public double getMaxZ()- Specified by:
getMaxZin interfaceWorldBorder.BorderExtent
-
getSize
public double getSize()- Specified by:
getSizein interfaceWorldBorder.BorderExtent
-
getLerpSpeed
public double getLerpSpeed()- Specified by:
getLerpSpeedin interfaceWorldBorder.BorderExtent
-
getLerpRemainingTime
public long getLerpRemainingTime()- Specified by:
getLerpRemainingTimein interfaceWorldBorder.BorderExtent
-
getLerpTarget
public double getLerpTarget()- Specified by:
getLerpTargetin interfaceWorldBorder.BorderExtent
-
getStatus
- Specified by:
getStatusin interfaceWorldBorder.BorderExtent
-
onCenterChange
public void onCenterChange()- Specified by:
onCenterChangein interfaceWorldBorder.BorderExtent
-
onAbsoluteMaxSizeChange
public void onAbsoluteMaxSizeChange()- Specified by:
onAbsoluteMaxSizeChangein interfaceWorldBorder.BorderExtent
-
update
- Specified by:
updatein interfaceWorldBorder.BorderExtent
-
getCollisionShape
- Specified by:
getCollisionShapein interfaceWorldBorder.BorderExtent
-