Class WorldBorder

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

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

    • listeners

      private final List<WorldBorderListener> listeners
      Mappings:
      Namespace Name Mixin selector
      official a Laxn;a:Ljava/util/List;
      intermediary field_9933 Lnet/minecraft/class_2250;field_9933:Ljava/util/List;
      named listeners Lnet/minecraft/world/border/WorldBorder;listeners:Ljava/util/List;
    • centerX

      private double centerX
      Mappings:
      Namespace Name Mixin selector
      official b Laxn;b:D
      intermediary field_9934 Lnet/minecraft/class_2250;field_9934:D
      named centerX Lnet/minecraft/world/border/WorldBorder;centerX:D
    • centerZ

      private double centerZ
      Mappings:
      Namespace Name Mixin selector
      official c Laxn;c:D
      intermediary field_9935 Lnet/minecraft/class_2250;field_9935:D
      named centerZ Lnet/minecraft/world/border/WorldBorder;centerZ:D
    • oldSize

      private double oldSize
      Mappings:
      Namespace Name Mixin selector
      official d Laxn;d:D
      intermediary field_9936 Lnet/minecraft/class_2250;field_9936:D
      named oldSize Lnet/minecraft/world/border/WorldBorder;oldSize:D
    • targetSize

      private double targetSize
      Mappings:
      Namespace Name Mixin selector
      official e Laxn;e:D
      intermediary field_9937 Lnet/minecraft/class_2250;field_9937:D
      named targetSize Lnet/minecraft/world/border/WorldBorder;targetSize:D
    • targetTime

      private long targetTime
      Mappings:
      Namespace Name Mixin selector
      official f Laxn;f:J
      intermediary field_9938 Lnet/minecraft/class_2250;field_9938:J
      named targetTime Lnet/minecraft/world/border/WorldBorder;targetTime:J
    • oldTime

      private long oldTime
      Mappings:
      Namespace Name Mixin selector
      official g Laxn;g:J
      intermediary field_9939 Lnet/minecraft/class_2250;field_9939:J
      named oldTime Lnet/minecraft/world/border/WorldBorder;oldTime:J
    • maxWorldBorderRadius

      private int maxWorldBorderRadius
      Mappings:
      Namespace Name Mixin selector
      official h Laxn;h:I
      intermediary field_9940 Lnet/minecraft/class_2250;field_9940:I
      named maxWorldBorderRadius Lnet/minecraft/world/border/WorldBorder;maxWorldBorderRadius:I
    • damagePerBlock

      private double damagePerBlock
      Mappings:
      Namespace Name Mixin selector
      official i Laxn;i:D
      intermediary field_9941 Lnet/minecraft/class_2250;field_9941:D
      named damagePerBlock Lnet/minecraft/world/border/WorldBorder;damagePerBlock:D
    • safeZone

      private double safeZone
      Mappings:
      Namespace Name Mixin selector
      official j Laxn;j:D
      intermediary field_9942 Lnet/minecraft/class_2250;field_9942:D
      named safeZone Lnet/minecraft/world/border/WorldBorder;safeZone:D
    • warningTime

      private int warningTime
      Mappings:
      Namespace Name Mixin selector
      official k Laxn;k:I
      intermediary field_9943 Lnet/minecraft/class_2250;field_9943:I
      named warningTime Lnet/minecraft/world/border/WorldBorder;warningTime:I
    • warningBlocks

      private int warningBlocks
      Mappings:
      Namespace Name Mixin selector
      official l Laxn;l:I
      intermediary field_9944 Lnet/minecraft/class_2250;field_9944: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 Laxn;a(Let;)Z
      intermediary method_9098 Lnet/minecraft/class_2250;method_9098(Lnet/minecraft/class_2552;)Z
      named contains Lnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/BlockPos;)Z
    • contains

      public boolean contains(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Laxn;a(Lamn;)Z
      intermediary method_9095 Lnet/minecraft/class_2250;method_9095(Lnet/minecraft/class_1146;)Z
      named contains Lnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/ChunkPos;)Z
    • contains

      public boolean contains(Box box)
      Mappings:
      Namespace Name Mixin selector
      official a Laxn;a(Lbhb;)Z
      intermediary method_9097 Lnet/minecraft/class_2250;method_9097(Lnet/minecraft/class_231;)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 Laxn;a(Lvg;)D
      intermediary method_9099 Lnet/minecraft/class_2250;method_9099(Lnet/minecraft/class_864;)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 Laxn;b(DD)D
      intermediary method_9102 Lnet/minecraft/class_2250;method_9102(DD)D
      named getDistanceInsideBorder Lnet/minecraft/world/border/WorldBorder;getDistanceInsideBorder(DD)D
    • getWorldBorderStage

      public WorldBorderStage getWorldBorderStage()
      Mappings:
      Namespace Name Mixin selector
      official a Laxn;a()Laxm;
      intermediary method_9091 Lnet/minecraft/class_2250;method_9091()Lnet/minecraft/class_2249;
      named getWorldBorderStage Lnet/minecraft/world/border/WorldBorder;getWorldBorderStage()Lnet/minecraft/world/border/WorldBorderStage;
    • getBoundWest

      public double getBoundWest()
      Mappings:
      Namespace Name Mixin selector
      official b Laxn;b()D
      intermediary method_9100 Lnet/minecraft/class_2250;method_9100()D
      named getBoundWest Lnet/minecraft/world/border/WorldBorder;getBoundWest()D
    • getBoundNorth

      public double getBoundNorth()
      Mappings:
      Namespace Name Mixin selector
      official c Laxn;c()D
      intermediary method_9104 Lnet/minecraft/class_2250;method_9104()D
      named getBoundNorth Lnet/minecraft/world/border/WorldBorder;getBoundNorth()D
    • getBoundEast

      public double getBoundEast()
      Mappings:
      Namespace Name Mixin selector
      official d Laxn;d()D
      intermediary method_9108 Lnet/minecraft/class_2250;method_9108()D
      named getBoundEast Lnet/minecraft/world/border/WorldBorder;getBoundEast()D
    • getBoundSouth

      public double getBoundSouth()
      Mappings:
      Namespace Name Mixin selector
      official e Laxn;e()D
      intermediary method_9109 Lnet/minecraft/class_2250;method_9109()D
      named getBoundSouth Lnet/minecraft/world/border/WorldBorder;getBoundSouth()D
    • getCenterX

      public double getCenterX()
      Mappings:
      Namespace Name Mixin selector
      official f Laxn;f()D
      intermediary method_9110 Lnet/minecraft/class_2250;method_9110()D
      named getCenterX Lnet/minecraft/world/border/WorldBorder;getCenterX()D
    • getCenterZ

      public double getCenterZ()
      Mappings:
      Namespace Name Mixin selector
      official g Laxn;g()D
      intermediary method_9111 Lnet/minecraft/class_2250;method_9111()D
      named getCenterZ Lnet/minecraft/world/border/WorldBorder;getCenterZ()D
    • setCenter

      public void setCenter(double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official c Laxn;c(DD)V
      intermediary method_9106 Lnet/minecraft/class_2250;method_9106(DD)V
      named setCenter Lnet/minecraft/world/border/WorldBorder;setCenter(DD)V
    • getOldSize

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

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

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

      public void setSize(double size)
      Mappings:
      Namespace Name Mixin selector
      official a Laxn;a(D)V
      intermediary method_9092 Lnet/minecraft/class_2250;method_9092(D)V
      named setSize Lnet/minecraft/world/border/WorldBorder;setSize(D)V
    • interpolateSize

      public void interpolateSize(double oldSize, double targetSize, long time)
      Mappings:
      Namespace Name Mixin selector
      official a Laxn;a(DDJ)V
      intermediary method_9093 Lnet/minecraft/class_2250;method_9093(DDJ)V
      named interpolateSize Lnet/minecraft/world/border/WorldBorder;interpolateSize(DDJ)V
    • getListeners

      protected List<WorldBorderListener> getListeners()
      Mappings:
      Namespace Name Mixin selector
      official k Laxn;k()Ljava/util/List;
      intermediary method_9115 Lnet/minecraft/class_2250;method_9115()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 Laxn;a(Laxl;)V
      intermediary method_9096 Lnet/minecraft/class_2250;method_9096(Lnet/minecraft/class_2248;)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 Laxn;a(I)V
      intermediary method_9094 Lnet/minecraft/class_2250;method_9094(I)V
      named setMaxWorldBorderRadius Lnet/minecraft/world/border/WorldBorder;setMaxWorldBorderRadius(I)V
    • getMaxWorldBorderRadius

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

      public double getSafeZone()
      Mappings:
      Namespace Name Mixin selector
      official m Laxn;m()D
      intermediary method_9117 Lnet/minecraft/class_2250;method_9117()D
      named getSafeZone Lnet/minecraft/world/border/WorldBorder;getSafeZone()D
    • setSafeZone

      public void setSafeZone(double safeZone)
      Mappings:
      Namespace Name Mixin selector
      official b Laxn;b(D)V
      intermediary method_9101 Lnet/minecraft/class_2250;method_9101(D)V
      named setSafeZone Lnet/minecraft/world/border/WorldBorder;setSafeZone(D)V
    • getBorderDamagePerBlock

      public double getBorderDamagePerBlock()
      Mappings:
      Namespace Name Mixin selector
      official n Laxn;n()D
      intermediary method_9118 Lnet/minecraft/class_2250;method_9118()D
      named getBorderDamagePerBlock Lnet/minecraft/world/border/WorldBorder;getBorderDamagePerBlock()D
    • setDamagePerBlock

      public void setDamagePerBlock(double damagePerBlock)
      Mappings:
      Namespace Name Mixin selector
      official c Laxn;c(D)V
      intermediary method_9105 Lnet/minecraft/class_2250;method_9105(D)V
      named setDamagePerBlock Lnet/minecraft/world/border/WorldBorder;setDamagePerBlock(D)V
    • getShrinkingSpeed

      @Environment(CLIENT) public double getShrinkingSpeed()
      Mappings:
      Namespace Name Mixin selector
      official o Laxn;o()D
      intermediary method_9119 Lnet/minecraft/class_2250;method_9119()D
      named getShrinkingSpeed Lnet/minecraft/world/border/WorldBorder;getShrinkingSpeed()D
    • getWarningTime

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

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

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

      public void setWarningBlocks(int warningBlocks)
      Mappings:
      Namespace Name Mixin selector
      official c Laxn;c(I)V
      intermediary method_9107 Lnet/minecraft/class_2250;method_9107(I)V
      named setWarningBlocks Lnet/minecraft/world/border/WorldBorder;setWarningBlocks(I)V