Class WorldBorder

java.lang.Object
net.minecraft.world.border.WorldBorder

public class WorldBorder
extends Object
Mappings:
Namespace Name
official ams
intermediary net/minecraft/class_395
named net/minecraft/world/border/WorldBorder
  • Field Details

    • listeners

      private final List<WorldBorderListener> listeners
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a:Ljava/util/List;
      intermediary field_1549 Lnet/minecraft/class_395;field_1549:Ljava/util/List;
      named listeners Lnet/minecraft/world/border/WorldBorder;listeners:Ljava/util/List;
    • cornerA

      private double cornerA
      Mappings:
      Namespace Name Mixin selector
      official b Lams;b:D
      intermediary field_1550 Lnet/minecraft/class_395;field_1550:D
      named cornerA Lnet/minecraft/world/border/WorldBorder;cornerA:D
    • cornerB

      private double cornerB
      Mappings:
      Namespace Name Mixin selector
      official c Lams;c:D
      intermediary field_1551 Lnet/minecraft/class_395;field_1551:D
      named cornerB Lnet/minecraft/world/border/WorldBorder;cornerB:D
    • oldSize

      private double oldSize
      Mappings:
      Namespace Name Mixin selector
      official d Lams;d:D
      intermediary field_1552 Lnet/minecraft/class_395;field_1552:D
      named oldSize Lnet/minecraft/world/border/WorldBorder;oldSize:D
    • targetSize

      private double targetSize
      Mappings:
      Namespace Name Mixin selector
      official e Lams;e:D
      intermediary field_1553 Lnet/minecraft/class_395;field_1553:D
      named targetSize Lnet/minecraft/world/border/WorldBorder;targetSize:D
    • targetTime

      private long targetTime
      Mappings:
      Namespace Name Mixin selector
      official f Lams;f:J
      intermediary field_1554 Lnet/minecraft/class_395;field_1554:J
      named targetTime Lnet/minecraft/world/border/WorldBorder;targetTime:J
    • oldTime

      private long oldTime
      Mappings:
      Namespace Name Mixin selector
      official g Lams;g:J
      intermediary field_1555 Lnet/minecraft/class_395;field_1555:J
      named oldTime Lnet/minecraft/world/border/WorldBorder;oldTime:J
    • maxWorldBorderRadius

      private int maxWorldBorderRadius
      Mappings:
      Namespace Name Mixin selector
      official h Lams;h:I
      intermediary field_1556 Lnet/minecraft/class_395;field_1556:I
      named maxWorldBorderRadius Lnet/minecraft/world/border/WorldBorder;maxWorldBorderRadius:I
    • field_1557

      private double field_1557
      Mappings:
      Namespace Name Mixin selector
      official i Lams;i:D
      intermediary field_1557 Lnet/minecraft/class_395;field_1557:D
      named field_1557 Lnet/minecraft/world/border/WorldBorder;field_1557:D
    • field_1558

      private double field_1558
      Mappings:
      Namespace Name Mixin selector
      official j Lams;j:D
      intermediary field_1558 Lnet/minecraft/class_395;field_1558:D
      named field_1558 Lnet/minecraft/world/border/WorldBorder;field_1558:D
    • warningTime

      private int warningTime
      Mappings:
      Namespace Name Mixin selector
      official k Lams;k:I
      intermediary field_1559 Lnet/minecraft/class_395;field_1559:I
      named warningTime Lnet/minecraft/world/border/WorldBorder;warningTime:I
    • warningBlocks

      private int warningBlocks
      Mappings:
      Namespace Name Mixin selector
      official l Lams;l:I
      intermediary field_1560 Lnet/minecraft/class_395;field_1560:I
      named warningBlocks Lnet/minecraft/world/border/WorldBorder;warningBlocks:I
  • Constructor Details

    • WorldBorder

      public WorldBorder()
  • Method Details

    • contains

      public boolean contains​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a(Lcj;)Z
      intermediary method_1297 Lnet/minecraft/class_395;method_1297(Lnet/minecraft/class_1372;)Z
      named contains Lnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/BlockPos;)Z
    • method_1294

      public boolean method_1294​(ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a(Ladg;)Z
      intermediary method_1294 Lnet/minecraft/class_395;method_1294(Lnet/minecraft/class_92;)Z
      named method_1294 Lnet/minecraft/world/border/WorldBorder;method_1294(Lnet/minecraft/util/math/ChunkPos;)Z
    • contains

      public boolean contains​(Box box)
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a(Laug;)Z
      intermediary method_1296 Lnet/minecraft/class_395;method_1296(Lnet/minecraft/class_646;)Z
      named contains Lnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/Box;)Z
    • getDistanceInsideBorder

      public double getDistanceInsideBorder​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a(Lpk;)D
      intermediary method_1298 Lnet/minecraft/class_395;method_1298(Lnet/minecraft/class_1745;)D
      named getDistanceInsideBorder Lnet/minecraft/world/border/WorldBorder;getDistanceInsideBorder(Lnet/minecraft/entity/Entity;)D
    • getDistanceInsideBorder

      public double getDistanceInsideBorder​(double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official b Lams;b(DD)D
      intermediary method_1301 Lnet/minecraft/class_395;method_1301(DD)D
      named getDistanceInsideBorder Lnet/minecraft/world/border/WorldBorder;getDistanceInsideBorder(DD)D
    • getWorldBorderStage

      public WorldBorderStage getWorldBorderStage()
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a()Lamr;
      intermediary method_1290 Lnet/minecraft/class_395;method_1290()Lnet/minecraft/class_394;
      named getWorldBorderStage Lnet/minecraft/world/border/WorldBorder;getWorldBorderStage()Lnet/minecraft/world/border/WorldBorderStage;
    • getSize

      public double getSize()
      Mappings:
      Namespace Name Mixin selector
      official b Lams;b()D
      intermediary method_1299 Lnet/minecraft/class_395;method_1299()D
      named getSize Lnet/minecraft/world/border/WorldBorder;getSize()D
    • method_1303

      public double method_1303()
      Mappings:
      Namespace Name Mixin selector
      official c Lams;c()D
      intermediary method_1303 Lnet/minecraft/class_395;method_1303()D
      named method_1303 Lnet/minecraft/world/border/WorldBorder;method_1303()D
    • method_1307

      public double method_1307()
      Mappings:
      Namespace Name Mixin selector
      official d Lams;d()D
      intermediary method_1307 Lnet/minecraft/class_395;method_1307()D
      named method_1307 Lnet/minecraft/world/border/WorldBorder;method_1307()D
    • method_1308

      public double method_1308()
      Mappings:
      Namespace Name Mixin selector
      official e Lams;e()D
      intermediary method_1308 Lnet/minecraft/class_395;method_1308()D
      named method_1308 Lnet/minecraft/world/border/WorldBorder;method_1308()D
    • getCornerA

      public double getCornerA()
      Mappings:
      Namespace Name Mixin selector
      official f Lams;f()D
      intermediary method_1309 Lnet/minecraft/class_395;method_1309()D
      named getCornerA Lnet/minecraft/world/border/WorldBorder;getCornerA()D
    • getCornerB

      public double getCornerB()
      Mappings:
      Namespace Name Mixin selector
      official g Lams;g()D
      intermediary method_1310 Lnet/minecraft/class_395;method_1310()D
      named getCornerB Lnet/minecraft/world/border/WorldBorder;getCornerB()D
    • setCenter

      public void setCenter​(double double2, double double3)
      Mappings:
      Namespace Name Mixin selector
      official c Lams;c(DD)V
      intermediary method_1305 Lnet/minecraft/class_395;method_1305(DD)V
      named setCenter Lnet/minecraft/world/border/WorldBorder;setCenter(DD)V
    • getOldSize

      public double getOldSize()
      Mappings:
      Namespace Name Mixin selector
      official h Lams;h()D
      intermediary method_1311 Lnet/minecraft/class_395;method_1311()D
      named getOldSize Lnet/minecraft/world/border/WorldBorder;getOldSize()D
    • getInterpolationDuration

      public long getInterpolationDuration()
      Mappings:
      Namespace Name Mixin selector
      official i Lams;i()J
      intermediary method_1312 Lnet/minecraft/class_395;method_1312()J
      named getInterpolationDuration Lnet/minecraft/world/border/WorldBorder;getInterpolationDuration()J
    • getTargetSize

      public double getTargetSize()
      Mappings:
      Namespace Name Mixin selector
      official j Lams;j()D
      intermediary method_1313 Lnet/minecraft/class_395;method_1313()D
      named getTargetSize Lnet/minecraft/world/border/WorldBorder;getTargetSize()D
    • setSize

      public void setSize​(double size)
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a(D)V
      intermediary method_1291 Lnet/minecraft/class_395;method_1291(D)V
      named setSize Lnet/minecraft/world/border/WorldBorder;setSize(D)V
    • setSize

      public void setSize​(double oldSize, double targetSize, long duration)
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a(DDJ)V
      intermediary method_1292 Lnet/minecraft/class_395;method_1292(DDJ)V
      named setSize Lnet/minecraft/world/border/WorldBorder;setSize(DDJ)V
    • getListeners

      protected List<WorldBorderListener> getListeners()
      Mappings:
      Namespace Name Mixin selector
      official k Lams;k()Ljava/util/List;
      intermediary method_1314 Lnet/minecraft/class_395;method_1314()Ljava/util/List;
      named getListeners Lnet/minecraft/world/border/WorldBorder;getListeners()Ljava/util/List;
    • addListener

      public void addListener​(WorldBorderListener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a(Lamq;)V
      intermediary method_1295 Lnet/minecraft/class_395;method_1295(Lnet/minecraft/class_393;)V
      named addListener Lnet/minecraft/world/border/WorldBorder;addListener(Lnet/minecraft/world/border/WorldBorderListener;)V
    • setMaxWorldBorderRadius

      public void setMaxWorldBorderRadius​(int radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lams;a(I)V
      intermediary method_1293 Lnet/minecraft/class_395;method_1293(I)V
      named setMaxWorldBorderRadius Lnet/minecraft/world/border/WorldBorder;setMaxWorldBorderRadius(I)V
    • getMaxWorldBorderRadius

      public int getMaxWorldBorderRadius()
      Mappings:
      Namespace Name Mixin selector
      official l Lams;l()I
      intermediary method_1315 Lnet/minecraft/class_395;method_1315()I
      named getMaxWorldBorderRadius Lnet/minecraft/world/border/WorldBorder;getMaxWorldBorderRadius()I
    • getSafeZone

      public double getSafeZone()
      Mappings:
      Namespace Name Mixin selector
      official m Lams;m()D
      intermediary method_1316 Lnet/minecraft/class_395;method_1316()D
      named getSafeZone Lnet/minecraft/world/border/WorldBorder;getSafeZone()D
    • method_1300

      public void method_1300​(double double2)
      Mappings:
      Namespace Name Mixin selector
      official b Lams;b(D)V
      intermediary method_1300 Lnet/minecraft/class_395;method_1300(D)V
      named method_1300 Lnet/minecraft/world/border/WorldBorder;method_1300(D)V
    • getBorderDamagePerBlock

      public double getBorderDamagePerBlock()
      Mappings:
      Namespace Name Mixin selector
      official n Lams;n()D
      intermediary method_1317 Lnet/minecraft/class_395;method_1317()D
      named getBorderDamagePerBlock Lnet/minecraft/world/border/WorldBorder;getBorderDamagePerBlock()D
    • method_1304

      public void method_1304​(double double2)
      Mappings:
      Namespace Name Mixin selector
      official c Lams;c(D)V
      intermediary method_1304 Lnet/minecraft/class_395;method_1304(D)V
      named method_1304 Lnet/minecraft/world/border/WorldBorder;method_1304(D)V
    • method_1318

      @Environment(CLIENT) public double method_1318()
      Mappings:
      Namespace Name Mixin selector
      official o Lams;o()D
      intermediary method_1318 Lnet/minecraft/class_395;method_1318()D
      named method_1318 Lnet/minecraft/world/border/WorldBorder;method_1318()D
    • getWarningTime

      public int getWarningTime()
      Mappings:
      Namespace Name Mixin selector
      official p Lams;p()I
      intermediary method_1319 Lnet/minecraft/class_395;method_1319()I
      named getWarningTime Lnet/minecraft/world/border/WorldBorder;getWarningTime()I
    • setWarningTime

      public void setWarningTime​(int warningTime)
      Mappings:
      Namespace Name Mixin selector
      official b Lams;b(I)V
      intermediary method_1302 Lnet/minecraft/class_395;method_1302(I)V
      named setWarningTime Lnet/minecraft/world/border/WorldBorder;setWarningTime(I)V
    • getWarningBlocks

      public int getWarningBlocks()
      Mappings:
      Namespace Name Mixin selector
      official q Lams;q()I
      intermediary method_1320 Lnet/minecraft/class_395;method_1320()I
      named getWarningBlocks Lnet/minecraft/world/border/WorldBorder;getWarningBlocks()I
    • setWarningBlocks

      public void setWarningBlocks​(int warningBlocks)
      Mappings:
      Namespace Name Mixin selector
      official c Lams;c(I)V
      intermediary method_1306 Lnet/minecraft/class_395;method_1306(I)V
      named setWarningBlocks Lnet/minecraft/world/border/WorldBorder;setWarningBlocks(I)V