Package net.minecraft.world.border
Class WorldBorder
java.lang.Object
net.minecraft.world.border.WorldBorder
- Mappings:
Namespace Name official amsintermediary net/minecraft/class_2250named net/minecraft/world/border/WorldBorder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate doubleprivate final List<WorldBorderListener>private intprivate doubleprivate longprivate doubleprivate doubleprivate longprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(WorldBorderListener listener) booleanbooleanbooleandoubledoubledoubledoubledoubledoubledoubledoublegetDistanceInsideBorder(double x, double z) doublegetDistanceInsideBorder(Entity entity) longprotected List<WorldBorderListener>intdoubledoubledoubledoubleintintvoidinterpolateSize(double oldSize, double targetSize, long time) voidsetCenter(double x, double z) voidsetDamagePerBlock(double damagePerBlock) voidsetMaxWorldBorderRadius(int radius) voidsetSafeZone(double safeZone) voidsetSize(double size) voidsetWarningBlocks(int warningBlocks) voidsetWarningTime(int warningTime)
-
Field Details
-
listeners
- Mappings:
Namespace Name Mixin selector official aLams;a:Ljava/util/List;intermediary field_9933Lnet/minecraft/class_2250;field_9933:Ljava/util/List;named listenersLnet/minecraft/world/border/WorldBorder;listeners:Ljava/util/List;
-
centerX
private double centerX- Mappings:
Namespace Name Mixin selector official bLams;b:Dintermediary field_9934Lnet/minecraft/class_2250;field_9934:Dnamed centerXLnet/minecraft/world/border/WorldBorder;centerX:D
-
centerZ
private double centerZ- Mappings:
Namespace Name Mixin selector official cLams;c:Dintermediary field_9935Lnet/minecraft/class_2250;field_9935:Dnamed centerZLnet/minecraft/world/border/WorldBorder;centerZ:D
-
oldSize
private double oldSize- Mappings:
Namespace Name Mixin selector official dLams;d:Dintermediary field_9936Lnet/minecraft/class_2250;field_9936:Dnamed oldSizeLnet/minecraft/world/border/WorldBorder;oldSize:D
-
targetSize
private double targetSize- Mappings:
Namespace Name Mixin selector official eLams;e:Dintermediary field_9937Lnet/minecraft/class_2250;field_9937:Dnamed targetSizeLnet/minecraft/world/border/WorldBorder;targetSize:D
-
targetTime
private long targetTime- Mappings:
Namespace Name Mixin selector official fLams;f:Jintermediary field_9938Lnet/minecraft/class_2250;field_9938:Jnamed targetTimeLnet/minecraft/world/border/WorldBorder;targetTime:J
-
oldTime
private long oldTime- Mappings:
Namespace Name Mixin selector official gLams;g:Jintermediary field_9939Lnet/minecraft/class_2250;field_9939:Jnamed oldTimeLnet/minecraft/world/border/WorldBorder;oldTime:J
-
maxWorldBorderRadius
private int maxWorldBorderRadius- Mappings:
Namespace Name Mixin selector official hLams;h:Iintermediary field_9940Lnet/minecraft/class_2250;field_9940:Inamed maxWorldBorderRadiusLnet/minecraft/world/border/WorldBorder;maxWorldBorderRadius:I
-
damagePerBlock
private double damagePerBlock- Mappings:
Namespace Name Mixin selector official iLams;i:Dintermediary field_9941Lnet/minecraft/class_2250;field_9941:Dnamed damagePerBlockLnet/minecraft/world/border/WorldBorder;damagePerBlock:D
-
safeZone
private double safeZone- Mappings:
Namespace Name Mixin selector official jLams;j:Dintermediary field_9942Lnet/minecraft/class_2250;field_9942:Dnamed safeZoneLnet/minecraft/world/border/WorldBorder;safeZone:D
-
warningTime
private int warningTime- Mappings:
Namespace Name Mixin selector official kLams;k:Iintermediary field_9943Lnet/minecraft/class_2250;field_9943:Inamed warningTimeLnet/minecraft/world/border/WorldBorder;warningTime:I
-
warningBlocks
private int warningBlocks- Mappings:
Namespace Name Mixin selector official lLams;l:Iintermediary field_9944Lnet/minecraft/class_2250;field_9944: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_9098Lnet/minecraft/class_2250;method_9098(Lnet/minecraft/class_2552;)Znamed containsLnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/BlockPos;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official aLams;a(Ladg;)Zintermediary method_9095Lnet/minecraft/class_2250;method_9095(Lnet/minecraft/class_1146;)Znamed containsLnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/ChunkPos;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official aLams;a(Laug;)Zintermediary method_9097Lnet/minecraft/class_2250;method_9097(Lnet/minecraft/class_231;)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_9099Lnet/minecraft/class_2250;method_9099(Lnet/minecraft/class_864;)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_9102Lnet/minecraft/class_2250;method_9102(DD)Dnamed getDistanceInsideBorderLnet/minecraft/world/border/WorldBorder;getDistanceInsideBorder(DD)D
-
getWorldBorderStage
- Mappings:
Namespace Name Mixin selector official aLams;a()Lamr;intermediary method_9091Lnet/minecraft/class_2250;method_9091()Lnet/minecraft/class_2249;named getWorldBorderStageLnet/minecraft/world/border/WorldBorder;getWorldBorderStage()Lnet/minecraft/world/border/WorldBorderStage;
-
getBoundWest
public double getBoundWest()- Mappings:
Namespace Name Mixin selector official bLams;b()Dintermediary method_9100Lnet/minecraft/class_2250;method_9100()Dnamed getBoundWestLnet/minecraft/world/border/WorldBorder;getBoundWest()D
-
getBoundNorth
public double getBoundNorth()- Mappings:
Namespace Name Mixin selector official cLams;c()Dintermediary method_9104Lnet/minecraft/class_2250;method_9104()Dnamed getBoundNorthLnet/minecraft/world/border/WorldBorder;getBoundNorth()D
-
getBoundEast
public double getBoundEast()- Mappings:
Namespace Name Mixin selector official dLams;d()Dintermediary method_9108Lnet/minecraft/class_2250;method_9108()Dnamed getBoundEastLnet/minecraft/world/border/WorldBorder;getBoundEast()D
-
getBoundSouth
public double getBoundSouth()- Mappings:
Namespace Name Mixin selector official eLams;e()Dintermediary method_9109Lnet/minecraft/class_2250;method_9109()Dnamed getBoundSouthLnet/minecraft/world/border/WorldBorder;getBoundSouth()D
-
getCenterX
public double getCenterX()- Mappings:
Namespace Name Mixin selector official fLams;f()Dintermediary method_9110Lnet/minecraft/class_2250;method_9110()Dnamed getCenterXLnet/minecraft/world/border/WorldBorder;getCenterX()D
-
getCenterZ
public double getCenterZ()- Mappings:
Namespace Name Mixin selector official gLams;g()Dintermediary method_9111Lnet/minecraft/class_2250;method_9111()Dnamed getCenterZLnet/minecraft/world/border/WorldBorder;getCenterZ()D
-
setCenter
public void setCenter(double x, double z) - Mappings:
Namespace Name Mixin selector official cLams;c(DD)Vintermediary method_9106Lnet/minecraft/class_2250;method_9106(DD)Vnamed setCenterLnet/minecraft/world/border/WorldBorder;setCenter(DD)V
-
getOldSize
public double getOldSize()- Mappings:
Namespace Name Mixin selector official hLams;h()Dintermediary method_9112Lnet/minecraft/class_2250;method_9112()Dnamed getOldSizeLnet/minecraft/world/border/WorldBorder;getOldSize()D
-
getInterpolationDuration
public long getInterpolationDuration()- Mappings:
Namespace Name Mixin selector official iLams;i()Jintermediary method_9113Lnet/minecraft/class_2250;method_9113()Jnamed getInterpolationDurationLnet/minecraft/world/border/WorldBorder;getInterpolationDuration()J
-
getTargetSize
public double getTargetSize()- Mappings:
Namespace Name Mixin selector official jLams;j()Dintermediary method_9114Lnet/minecraft/class_2250;method_9114()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_9092Lnet/minecraft/class_2250;method_9092(D)Vnamed setSizeLnet/minecraft/world/border/WorldBorder;setSize(D)V
-
interpolateSize
public void interpolateSize(double oldSize, double targetSize, long time) - Mappings:
Namespace Name Mixin selector official aLams;a(DDJ)Vintermediary method_9093Lnet/minecraft/class_2250;method_9093(DDJ)Vnamed interpolateSizeLnet/minecraft/world/border/WorldBorder;interpolateSize(DDJ)V
-
getListeners
- Mappings:
Namespace Name Mixin selector official kLams;k()Ljava/util/List;intermediary method_9115Lnet/minecraft/class_2250;method_9115()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_9096Lnet/minecraft/class_2250;method_9096(Lnet/minecraft/class_2248;)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_9094Lnet/minecraft/class_2250;method_9094(I)Vnamed setMaxWorldBorderRadiusLnet/minecraft/world/border/WorldBorder;setMaxWorldBorderRadius(I)V
-
getMaxWorldBorderRadius
public int getMaxWorldBorderRadius()- Mappings:
Namespace Name Mixin selector official lLams;l()Iintermediary method_9116Lnet/minecraft/class_2250;method_9116()Inamed getMaxWorldBorderRadiusLnet/minecraft/world/border/WorldBorder;getMaxWorldBorderRadius()I
-
getSafeZone
public double getSafeZone()- Mappings:
Namespace Name Mixin selector official mLams;m()Dintermediary method_9117Lnet/minecraft/class_2250;method_9117()Dnamed getSafeZoneLnet/minecraft/world/border/WorldBorder;getSafeZone()D
-
setSafeZone
public void setSafeZone(double safeZone) - Mappings:
Namespace Name Mixin selector official bLams;b(D)Vintermediary method_9101Lnet/minecraft/class_2250;method_9101(D)Vnamed setSafeZoneLnet/minecraft/world/border/WorldBorder;setSafeZone(D)V
-
getBorderDamagePerBlock
public double getBorderDamagePerBlock()- Mappings:
Namespace Name Mixin selector official nLams;n()Dintermediary method_9118Lnet/minecraft/class_2250;method_9118()Dnamed getBorderDamagePerBlockLnet/minecraft/world/border/WorldBorder;getBorderDamagePerBlock()D
-
setDamagePerBlock
public void setDamagePerBlock(double damagePerBlock) - Mappings:
Namespace Name Mixin selector official cLams;c(D)Vintermediary method_9105Lnet/minecraft/class_2250;method_9105(D)Vnamed setDamagePerBlockLnet/minecraft/world/border/WorldBorder;setDamagePerBlock(D)V
-
getShrinkingSpeed
- Mappings:
Namespace Name Mixin selector official oLams;o()Dintermediary method_9119Lnet/minecraft/class_2250;method_9119()Dnamed getShrinkingSpeedLnet/minecraft/world/border/WorldBorder;getShrinkingSpeed()D
-
getWarningTime
public int getWarningTime()- Mappings:
Namespace Name Mixin selector official pLams;p()Iintermediary method_9120Lnet/minecraft/class_2250;method_9120()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_9103Lnet/minecraft/class_2250;method_9103(I)Vnamed setWarningTimeLnet/minecraft/world/border/WorldBorder;setWarningTime(I)V
-
getWarningBlocks
public int getWarningBlocks()- Mappings:
Namespace Name Mixin selector official qLams;q()Iintermediary method_9121Lnet/minecraft/class_2250;method_9121()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_9107Lnet/minecraft/class_2250;method_9107(I)Vnamed setWarningBlocksLnet/minecraft/world/border/WorldBorder;setWarningBlocks(I)V
-