Package net.minecraft.world.border
Class WorldBorder
java.lang.Object
net.minecraft.world.border.WorldBorder
public class WorldBorder extends Object
- Mappings:
Namespace Name official amsintermediary net/minecraft/class_395named net/minecraft/world/border/WorldBorder
-
Field Summary
Fields Modifier and Type Field Description private doublecornerAprivate doublecornerBprivate doublefield_1557private doublefield_1558private List<WorldBorderListener>listenersprivate intmaxWorldBorderRadiusprivate doubleoldSizeprivate longoldTimeprivate doubletargetSizeprivate longtargetTimeprivate intwarningBlocksprivate intwarningTime -
Constructor Summary
Constructors Constructor Description WorldBorder() -
Method Summary
Modifier and Type Method Description voidaddListener(WorldBorderListener listener)booleancontains(BlockPos pos)booleancontains(Box box)doublegetBorderDamagePerBlock()doublegetCornerA()doublegetCornerB()doublegetDistanceInsideBorder(double x, double z)doublegetDistanceInsideBorder(Entity entity)longgetInterpolationDuration()protected List<WorldBorderListener>getListeners()intgetMaxWorldBorderRadius()doublegetOldSize()doublegetSafeZone()doublegetSize()doublegetTargetSize()intgetWarningBlocks()intgetWarningTime()WorldBorderStagegetWorldBorderStage()booleanmethod_1294(ChunkPos chunkPos)voidmethod_1300(double double2)doublemethod_1303()voidmethod_1304(double double2)doublemethod_1307()doublemethod_1308()doublemethod_1318()voidsetCenter(double double2, double double3)voidsetMaxWorldBorderRadius(int radius)voidsetSize(double size)voidsetSize(double oldSize, double targetSize, long duration)voidsetWarningBlocks(int warningBlocks)voidsetWarningTime(int warningTime)
-
Field Details
-
listeners
- Mappings:
Namespace Name Mixin selector official aLams;a:Ljava/util/List;intermediary field_1549Lnet/minecraft/class_395;field_1549:Ljava/util/List;named listenersLnet/minecraft/world/border/WorldBorder;listeners:Ljava/util/List;
-
cornerA
private double cornerA- Mappings:
Namespace Name Mixin selector official bLams;b:Dintermediary field_1550Lnet/minecraft/class_395;field_1550:Dnamed cornerALnet/minecraft/world/border/WorldBorder;cornerA:D
-
cornerB
private double cornerB- Mappings:
Namespace Name Mixin selector official cLams;c:Dintermediary field_1551Lnet/minecraft/class_395;field_1551:Dnamed cornerBLnet/minecraft/world/border/WorldBorder;cornerB:D
-
oldSize
private double oldSize- Mappings:
Namespace Name Mixin selector official dLams;d:Dintermediary field_1552Lnet/minecraft/class_395;field_1552:Dnamed oldSizeLnet/minecraft/world/border/WorldBorder;oldSize:D
-
targetSize
private double targetSize- Mappings:
Namespace Name Mixin selector official eLams;e:Dintermediary field_1553Lnet/minecraft/class_395;field_1553:Dnamed targetSizeLnet/minecraft/world/border/WorldBorder;targetSize:D
-
targetTime
private long targetTime- Mappings:
Namespace Name Mixin selector official fLams;f:Jintermediary field_1554Lnet/minecraft/class_395;field_1554:Jnamed targetTimeLnet/minecraft/world/border/WorldBorder;targetTime:J
-
oldTime
private long oldTime- Mappings:
Namespace Name Mixin selector official gLams;g:Jintermediary field_1555Lnet/minecraft/class_395;field_1555:Jnamed oldTimeLnet/minecraft/world/border/WorldBorder;oldTime:J
-
maxWorldBorderRadius
private int maxWorldBorderRadius- Mappings:
Namespace Name Mixin selector official hLams;h:Iintermediary field_1556Lnet/minecraft/class_395;field_1556:Inamed maxWorldBorderRadiusLnet/minecraft/world/border/WorldBorder;maxWorldBorderRadius:I
-
field_1557
private double field_1557- Mappings:
Namespace Name Mixin selector official iLams;i:Dintermediary field_1557Lnet/minecraft/class_395;field_1557:Dnamed field_1557Lnet/minecraft/world/border/WorldBorder;field_1557:D
-
field_1558
private double field_1558- Mappings:
Namespace Name Mixin selector official jLams;j:Dintermediary field_1558Lnet/minecraft/class_395;field_1558:Dnamed field_1558Lnet/minecraft/world/border/WorldBorder;field_1558:D
-
warningTime
private int warningTime- Mappings:
Namespace Name Mixin selector official kLams;k:Iintermediary field_1559Lnet/minecraft/class_395;field_1559:Inamed warningTimeLnet/minecraft/world/border/WorldBorder;warningTime:I
-
warningBlocks
private int warningBlocks- Mappings:
Namespace Name Mixin selector official lLams;l:Iintermediary field_1560Lnet/minecraft/class_395;field_1560:Inamed warningBlocksLnet/minecraft/world/border/WorldBorder;warningBlocks:I
-
-
Constructor Details
-
WorldBorder
public WorldBorder()
-
-
Method Details
-
contains
- Mappings:
Namespace Name Mixin selector official aLams;a(Lcj;)Zintermediary method_1297Lnet/minecraft/class_395;method_1297(Lnet/minecraft/class_1372;)Znamed containsLnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/BlockPos;)Z
-
method_1294
- Mappings:
Namespace Name Mixin selector official aLams;a(Ladg;)Zintermediary method_1294Lnet/minecraft/class_395;method_1294(Lnet/minecraft/class_92;)Znamed method_1294Lnet/minecraft/world/border/WorldBorder;method_1294(Lnet/minecraft/util/math/ChunkPos;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official aLams;a(Laug;)Zintermediary method_1296Lnet/minecraft/class_395;method_1296(Lnet/minecraft/class_646;)Znamed containsLnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/Box;)Z
-
getDistanceInsideBorder
- Mappings:
Namespace Name Mixin selector official aLams;a(Lpk;)Dintermediary method_1298Lnet/minecraft/class_395;method_1298(Lnet/minecraft/class_1745;)Dnamed getDistanceInsideBorderLnet/minecraft/world/border/WorldBorder;getDistanceInsideBorder(Lnet/minecraft/entity/Entity;)D
-
getDistanceInsideBorder
public double getDistanceInsideBorder(double x, double z)- Mappings:
Namespace Name Mixin selector official bLams;b(DD)Dintermediary method_1301Lnet/minecraft/class_395;method_1301(DD)Dnamed getDistanceInsideBorderLnet/minecraft/world/border/WorldBorder;getDistanceInsideBorder(DD)D
-
getWorldBorderStage
- Mappings:
Namespace Name Mixin selector official aLams;a()Lamr;intermediary method_1290Lnet/minecraft/class_395;method_1290()Lnet/minecraft/class_394;named getWorldBorderStageLnet/minecraft/world/border/WorldBorder;getWorldBorderStage()Lnet/minecraft/world/border/WorldBorderStage;
-
getSize
public double getSize()- Mappings:
Namespace Name Mixin selector official bLams;b()Dintermediary method_1299Lnet/minecraft/class_395;method_1299()Dnamed getSizeLnet/minecraft/world/border/WorldBorder;getSize()D
-
method_1303
public double method_1303()- Mappings:
Namespace Name Mixin selector official cLams;c()Dintermediary method_1303Lnet/minecraft/class_395;method_1303()Dnamed method_1303Lnet/minecraft/world/border/WorldBorder;method_1303()D
-
method_1307
public double method_1307()- Mappings:
Namespace Name Mixin selector official dLams;d()Dintermediary method_1307Lnet/minecraft/class_395;method_1307()Dnamed method_1307Lnet/minecraft/world/border/WorldBorder;method_1307()D
-
method_1308
public double method_1308()- Mappings:
Namespace Name Mixin selector official eLams;e()Dintermediary method_1308Lnet/minecraft/class_395;method_1308()Dnamed method_1308Lnet/minecraft/world/border/WorldBorder;method_1308()D
-
getCornerA
public double getCornerA()- Mappings:
Namespace Name Mixin selector official fLams;f()Dintermediary method_1309Lnet/minecraft/class_395;method_1309()Dnamed getCornerALnet/minecraft/world/border/WorldBorder;getCornerA()D
-
getCornerB
public double getCornerB()- Mappings:
Namespace Name Mixin selector official gLams;g()Dintermediary method_1310Lnet/minecraft/class_395;method_1310()Dnamed getCornerBLnet/minecraft/world/border/WorldBorder;getCornerB()D
-
setCenter
public void setCenter(double double2, double double3)- Mappings:
Namespace Name Mixin selector official cLams;c(DD)Vintermediary method_1305Lnet/minecraft/class_395;method_1305(DD)Vnamed setCenterLnet/minecraft/world/border/WorldBorder;setCenter(DD)V
-
getOldSize
public double getOldSize()- Mappings:
Namespace Name Mixin selector official hLams;h()Dintermediary method_1311Lnet/minecraft/class_395;method_1311()Dnamed getOldSizeLnet/minecraft/world/border/WorldBorder;getOldSize()D
-
getInterpolationDuration
public long getInterpolationDuration()- Mappings:
Namespace Name Mixin selector official iLams;i()Jintermediary method_1312Lnet/minecraft/class_395;method_1312()Jnamed getInterpolationDurationLnet/minecraft/world/border/WorldBorder;getInterpolationDuration()J
-
getTargetSize
public double getTargetSize()- Mappings:
Namespace Name Mixin selector official jLams;j()Dintermediary method_1313Lnet/minecraft/class_395;method_1313()Dnamed getTargetSizeLnet/minecraft/world/border/WorldBorder;getTargetSize()D
-
setSize
public void setSize(double size)- Mappings:
Namespace Name Mixin selector official aLams;a(D)Vintermediary method_1291Lnet/minecraft/class_395;method_1291(D)Vnamed setSizeLnet/minecraft/world/border/WorldBorder;setSize(D)V
-
setSize
public void setSize(double oldSize, double targetSize, long duration)- Mappings:
Namespace Name Mixin selector official aLams;a(DDJ)Vintermediary method_1292Lnet/minecraft/class_395;method_1292(DDJ)Vnamed setSizeLnet/minecraft/world/border/WorldBorder;setSize(DDJ)V
-
getListeners
- Mappings:
Namespace Name Mixin selector official kLams;k()Ljava/util/List;intermediary method_1314Lnet/minecraft/class_395;method_1314()Ljava/util/List;named getListenersLnet/minecraft/world/border/WorldBorder;getListeners()Ljava/util/List;
-
addListener
- Mappings:
Namespace Name Mixin selector official aLams;a(Lamq;)Vintermediary method_1295Lnet/minecraft/class_395;method_1295(Lnet/minecraft/class_393;)Vnamed addListenerLnet/minecraft/world/border/WorldBorder;addListener(Lnet/minecraft/world/border/WorldBorderListener;)V
-
setMaxWorldBorderRadius
public void setMaxWorldBorderRadius(int radius)- Mappings:
Namespace Name Mixin selector official aLams;a(I)Vintermediary method_1293Lnet/minecraft/class_395;method_1293(I)Vnamed setMaxWorldBorderRadiusLnet/minecraft/world/border/WorldBorder;setMaxWorldBorderRadius(I)V
-
getMaxWorldBorderRadius
public int getMaxWorldBorderRadius()- Mappings:
Namespace Name Mixin selector official lLams;l()Iintermediary method_1315Lnet/minecraft/class_395;method_1315()Inamed getMaxWorldBorderRadiusLnet/minecraft/world/border/WorldBorder;getMaxWorldBorderRadius()I
-
getSafeZone
public double getSafeZone()- Mappings:
Namespace Name Mixin selector official mLams;m()Dintermediary method_1316Lnet/minecraft/class_395;method_1316()Dnamed getSafeZoneLnet/minecraft/world/border/WorldBorder;getSafeZone()D
-
method_1300
public void method_1300(double double2)- Mappings:
Namespace Name Mixin selector official bLams;b(D)Vintermediary method_1300Lnet/minecraft/class_395;method_1300(D)Vnamed method_1300Lnet/minecraft/world/border/WorldBorder;method_1300(D)V
-
getBorderDamagePerBlock
public double getBorderDamagePerBlock()- Mappings:
Namespace Name Mixin selector official nLams;n()Dintermediary method_1317Lnet/minecraft/class_395;method_1317()Dnamed getBorderDamagePerBlockLnet/minecraft/world/border/WorldBorder;getBorderDamagePerBlock()D
-
method_1304
public void method_1304(double double2)- Mappings:
Namespace Name Mixin selector official cLams;c(D)Vintermediary method_1304Lnet/minecraft/class_395;method_1304(D)Vnamed method_1304Lnet/minecraft/world/border/WorldBorder;method_1304(D)V
-
method_1318
- Mappings:
Namespace Name Mixin selector official oLams;o()Dintermediary method_1318Lnet/minecraft/class_395;method_1318()Dnamed method_1318Lnet/minecraft/world/border/WorldBorder;method_1318()D
-
getWarningTime
public int getWarningTime()- Mappings:
Namespace Name Mixin selector official pLams;p()Iintermediary method_1319Lnet/minecraft/class_395;method_1319()Inamed getWarningTimeLnet/minecraft/world/border/WorldBorder;getWarningTime()I
-
setWarningTime
public void setWarningTime(int warningTime)- Mappings:
Namespace Name Mixin selector official bLams;b(I)Vintermediary method_1302Lnet/minecraft/class_395;method_1302(I)Vnamed setWarningTimeLnet/minecraft/world/border/WorldBorder;setWarningTime(I)V
-
getWarningBlocks
public int getWarningBlocks()- Mappings:
Namespace Name Mixin selector official qLams;q()Iintermediary method_1320Lnet/minecraft/class_395;method_1320()Inamed getWarningBlocksLnet/minecraft/world/border/WorldBorder;getWarningBlocks()I
-
setWarningBlocks
public void setWarningBlocks(int warningBlocks)- Mappings:
Namespace Name Mixin selector official cLams;c(I)Vintermediary method_1306Lnet/minecraft/class_395;method_1306(I)Vnamed setWarningBlocksLnet/minecraft/world/border/WorldBorder;setWarningBlocks(I)V
-