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 SummaryFieldsModifier and TypeFieldDescriptionprivate final doubleprivate final longprivate final doubleprivate final longprivate final double
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
fromprivate final double from
- 
toprivate final double to
- 
lerpEndprivate final long lerpEnd
- 
lerpBeginprivate final long lerpBegin
- 
lerpDurationprivate final double lerpDuration
 
- 
- 
Constructor Details- 
MovingBorderExtentMovingBorderExtent(double p_61979_, double p_61980_, long p_61981_) 
 
- 
- 
Method Details- 
getMinXpublic double getMinX()- Specified by:
- getMinXin interface- WorldBorder.BorderExtent
 
- 
getMinZpublic double getMinZ()- Specified by:
- getMinZin interface- WorldBorder.BorderExtent
 
- 
getMaxXpublic double getMaxX()- Specified by:
- getMaxXin interface- WorldBorder.BorderExtent
 
- 
getMaxZpublic double getMaxZ()- Specified by:
- getMaxZin interface- WorldBorder.BorderExtent
 
- 
getSizepublic double getSize()- Specified by:
- getSizein interface- WorldBorder.BorderExtent
 
- 
getLerpSpeedpublic double getLerpSpeed()- Specified by:
- getLerpSpeedin interface- WorldBorder.BorderExtent
 
- 
getLerpRemainingTimepublic long getLerpRemainingTime()- Specified by:
- getLerpRemainingTimein interface- WorldBorder.BorderExtent
 
- 
getLerpTargetpublic double getLerpTarget()- Specified by:
- getLerpTargetin interface- WorldBorder.BorderExtent
 
- 
getStatus- Specified by:
- getStatusin interface- WorldBorder.BorderExtent
 
- 
onCenterChangepublic void onCenterChange()- Specified by:
- onCenterChangein interface- WorldBorder.BorderExtent
 
- 
onAbsoluteMaxSizeChangepublic void onAbsoluteMaxSizeChange()- Specified by:
- onAbsoluteMaxSizeChangein interface- WorldBorder.BorderExtent
 
- 
update- Specified by:
- updatein interface- WorldBorder.BorderExtent
 
- 
getCollisionShape- Specified by:
- getCollisionShapein interface- WorldBorder.BorderExtent
 
 
-