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