Package net.minecraft.world.border
Class WorldBorder
java.lang.Object
net.minecraft.world.border.WorldBorder
public class WorldBorder extends Object
- Mappings:
Namespace Name official cjj
intermediary net/minecraft/class_2784
named net/minecraft/world/border/WorldBorder
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
WorldBorder.Area
(package private) class
WorldBorder.MovingArea
static class
WorldBorder.Properties
(package private) class
WorldBorder.StaticArea
-
Field Summary
Fields Modifier and Type Field Description private WorldBorder.Area
area
private double
buffer
private double
centerX
private double
centerZ
private double
damagePerBlock
static WorldBorder.Properties
DEFAULT_BORDER
private List<WorldBorderListener>
listeners
private int
maxWorldBorderRadius
private int
warningBlocks
private int
warningTime
-
Constructor Summary
Constructors Constructor Description WorldBorder()
-
Method Summary
-
Field Details
-
DEFAULT_BORDER
- Mappings:
Namespace Name Mixin selector official c
Lcjj;c:Lcjj$c;
intermediary field_24122
Lnet/minecraft/class_2784;field_24122:Lnet/minecraft/class_2784$class_5200;
named DEFAULT_BORDER
Lnet/minecraft/world/border/WorldBorder;DEFAULT_BORDER:Lnet/minecraft/world/border/WorldBorder$Properties;
-
listeners
- Mappings:
Namespace Name Mixin selector official a
Lcjj;a:Ljava/util/List;
intermediary field_12730
Lnet/minecraft/class_2784;field_12730:Ljava/util/List;
named listeners
Lnet/minecraft/world/border/WorldBorder;listeners:Ljava/util/List;
-
damagePerBlock
private double damagePerBlock- Mappings:
Namespace Name Mixin selector official b
Lcjj;b:D
intermediary field_12733
Lnet/minecraft/class_2784;field_12733:D
named damagePerBlock
Lnet/minecraft/world/border/WorldBorder;damagePerBlock:D
-
buffer
private double buffer- Mappings:
Namespace Name Mixin selector official d
Lcjj;d:D
intermediary field_12731
Lnet/minecraft/class_2784;field_12731:D
named buffer
Lnet/minecraft/world/border/WorldBorder;buffer:D
-
warningTime
private int warningTime- Mappings:
Namespace Name Mixin selector official e
Lcjj;e:I
intermediary field_12735
Lnet/minecraft/class_2784;field_12735:I
named warningTime
Lnet/minecraft/world/border/WorldBorder;warningTime:I
-
warningBlocks
private int warningBlocks- Mappings:
Namespace Name Mixin selector official f
Lcjj;f:I
intermediary field_12734
Lnet/minecraft/class_2784;field_12734:I
named warningBlocks
Lnet/minecraft/world/border/WorldBorder;warningBlocks:I
-
centerX
private double centerX- Mappings:
Namespace Name Mixin selector official g
Lcjj;g:D
intermediary field_12738
Lnet/minecraft/class_2784;field_12738:D
named centerX
Lnet/minecraft/world/border/WorldBorder;centerX:D
-
centerZ
private double centerZ- Mappings:
Namespace Name Mixin selector official h
Lcjj;h:D
intermediary field_12737
Lnet/minecraft/class_2784;field_12737:D
named centerZ
Lnet/minecraft/world/border/WorldBorder;centerZ:D
-
maxWorldBorderRadius
private int maxWorldBorderRadius- Mappings:
Namespace Name Mixin selector official i
Lcjj;i:I
intermediary field_12732
Lnet/minecraft/class_2784;field_12732:I
named maxWorldBorderRadius
Lnet/minecraft/world/border/WorldBorder;maxWorldBorderRadius:I
-
area
- Mappings:
Namespace Name Mixin selector official j
Lcjj;j:Lcjj$a;
intermediary field_12736
Lnet/minecraft/class_2784;field_12736:Lnet/minecraft/class_2784$class_2785;
named area
Lnet/minecraft/world/border/WorldBorder;area:Lnet/minecraft/world/border/WorldBorder$Area;
-
-
Constructor Details
-
WorldBorder
public WorldBorder()
-
-
Method Details
-
contains
- Mappings:
Namespace Name Mixin selector official a
Lcjj;a(Lfx;)Z
intermediary method_11952
Lnet/minecraft/class_2784;method_11952(Lnet/minecraft/class_2338;)Z
named contains
Lnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/BlockPos;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official a
Lcjj;a(Lbta;)Z
intermediary method_11951
Lnet/minecraft/class_2784;method_11951(Lnet/minecraft/class_1923;)Z
named contains
Lnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/ChunkPos;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official a
Lcjj;a(Ldip;)Z
intermediary method_11966
Lnet/minecraft/class_2784;method_11966(Lnet/minecraft/class_238;)Z
named contains
Lnet/minecraft/world/border/WorldBorder;contains(Lnet/minecraft/util/math/Box;)Z
-
getDistanceInsideBorder
- Mappings:
Namespace Name Mixin selector official a
Lcjj;a(Laqv;)D
intermediary method_11979
Lnet/minecraft/class_2784;method_11979(Lnet/minecraft/class_1297;)D
named getDistanceInsideBorder
Lnet/minecraft/world/border/WorldBorder;getDistanceInsideBorder(Lnet/minecraft/entity/Entity;)D
-
asVoxelShape
- Mappings:
Namespace Name Mixin selector official c
Lcjj;c()Ldjn;
intermediary method_17903
Lnet/minecraft/class_2784;method_17903()Lnet/minecraft/class_265;
named asVoxelShape
Lnet/minecraft/world/border/WorldBorder;asVoxelShape()Lnet/minecraft/util/shape/VoxelShape;
-
getDistanceInsideBorder
public double getDistanceInsideBorder(double x, double z)- Mappings:
Namespace Name Mixin selector official b
Lcjj;b(DD)D
intermediary method_11961
Lnet/minecraft/class_2784;method_11961(DD)D
named getDistanceInsideBorder
Lnet/minecraft/world/border/WorldBorder;getDistanceInsideBorder(DD)D
-
getStage
- Mappings:
Namespace Name Mixin selector official d
Lcjj;d()Lcji;
intermediary method_11968
Lnet/minecraft/class_2784;method_11968()Lnet/minecraft/class_2789;
named getStage
Lnet/minecraft/world/border/WorldBorder;getStage()Lnet/minecraft/world/border/WorldBorderStage;
-
getBoundWest
public double getBoundWest()- Mappings:
Namespace Name Mixin selector official e
Lcjj;e()D
intermediary method_11976
Lnet/minecraft/class_2784;method_11976()D
named getBoundWest
Lnet/minecraft/world/border/WorldBorder;getBoundWest()D
-
getBoundNorth
public double getBoundNorth()- Mappings:
Namespace Name Mixin selector official f
Lcjj;f()D
intermediary method_11958
Lnet/minecraft/class_2784;method_11958()D
named getBoundNorth
Lnet/minecraft/world/border/WorldBorder;getBoundNorth()D
-
getBoundEast
public double getBoundEast()- Mappings:
Namespace Name Mixin selector official g
Lcjj;g()D
intermediary method_11963
Lnet/minecraft/class_2784;method_11963()D
named getBoundEast
Lnet/minecraft/world/border/WorldBorder;getBoundEast()D
-
getBoundSouth
public double getBoundSouth()- Mappings:
Namespace Name Mixin selector official h
Lcjj;h()D
intermediary method_11977
Lnet/minecraft/class_2784;method_11977()D
named getBoundSouth
Lnet/minecraft/world/border/WorldBorder;getBoundSouth()D
-
getCenterX
public double getCenterX()- Mappings:
Namespace Name Mixin selector official a
Lcjj;a()D
intermediary method_11964
Lnet/minecraft/class_2784;method_11964()D
named getCenterX
Lnet/minecraft/world/border/WorldBorder;getCenterX()D
-
getCenterZ
public double getCenterZ()- Mappings:
Namespace Name Mixin selector official b
Lcjj;b()D
intermediary method_11980
Lnet/minecraft/class_2784;method_11980()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
Lcjj;c(DD)V
intermediary method_11978
Lnet/minecraft/class_2784;method_11978(DD)V
named setCenter
Lnet/minecraft/world/border/WorldBorder;setCenter(DD)V
-
getSize
public double getSize()- Mappings:
Namespace Name Mixin selector official i
Lcjj;i()D
intermediary method_11965
Lnet/minecraft/class_2784;method_11965()D
named getSize
Lnet/minecraft/world/border/WorldBorder;getSize()D
-
getTargetRemainingTime
public long getTargetRemainingTime()- Mappings:
Namespace Name Mixin selector official j
Lcjj;j()J
intermediary method_11962
Lnet/minecraft/class_2784;method_11962()J
named getTargetRemainingTime
Lnet/minecraft/world/border/WorldBorder;getTargetRemainingTime()J
-
getTargetSize
public double getTargetSize()- Mappings:
Namespace Name Mixin selector official k
Lcjj;k()D
intermediary method_11954
Lnet/minecraft/class_2784;method_11954()D
named getTargetSize
Lnet/minecraft/world/border/WorldBorder;getTargetSize()D
-
setSize
public void setSize(double size)- Mappings:
Namespace Name Mixin selector official a
Lcjj;a(D)V
intermediary method_11969
Lnet/minecraft/class_2784;method_11969(D)V
named setSize
Lnet/minecraft/world/border/WorldBorder;setSize(D)V
-
interpolateSize
public void interpolateSize(double fromSize, double toSize, long time)- Mappings:
Namespace Name Mixin selector official a
Lcjj;a(DDJ)V
intermediary method_11957
Lnet/minecraft/class_2784;method_11957(DDJ)V
named interpolateSize
Lnet/minecraft/world/border/WorldBorder;interpolateSize(DDJ)V
-
getListeners
- Mappings:
Namespace Name Mixin selector official l
Lcjj;l()Ljava/util/List;
intermediary method_11970
Lnet/minecraft/class_2784;method_11970()Ljava/util/List;
named getListeners
Lnet/minecraft/world/border/WorldBorder;getListeners()Ljava/util/List;
-
addListener
- Mappings:
Namespace Name Mixin selector official a
Lcjj;a(Lcjh;)V
intermediary method_11983
Lnet/minecraft/class_2784;method_11983(Lnet/minecraft/class_2780;)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
Lcjj;a(I)V
intermediary method_11973
Lnet/minecraft/class_2784;method_11973(I)V
named setMaxWorldBorderRadius
Lnet/minecraft/world/border/WorldBorder;setMaxWorldBorderRadius(I)V
-
getMaxWorldBorderRadius
public int getMaxWorldBorderRadius()- Mappings:
Namespace Name Mixin selector official m
Lcjj;m()I
intermediary method_11959
Lnet/minecraft/class_2784;method_11959()I
named getMaxWorldBorderRadius
Lnet/minecraft/world/border/WorldBorder;getMaxWorldBorderRadius()I
-
getBuffer
public double getBuffer()- Mappings:
Namespace Name Mixin selector official n
Lcjj;n()D
intermediary method_11971
Lnet/minecraft/class_2784;method_11971()D
named getBuffer
Lnet/minecraft/world/border/WorldBorder;getBuffer()D
-
setBuffer
public void setBuffer(double buffer)- Mappings:
Namespace Name Mixin selector official b
Lcjj;b(D)V
intermediary method_11981
Lnet/minecraft/class_2784;method_11981(D)V
named setBuffer
Lnet/minecraft/world/border/WorldBorder;setBuffer(D)V
-
getDamagePerBlock
public double getDamagePerBlock()- Mappings:
Namespace Name Mixin selector official o
Lcjj;o()D
intermediary method_11953
Lnet/minecraft/class_2784;method_11953()D
named getDamagePerBlock
Lnet/minecraft/world/border/WorldBorder;getDamagePerBlock()D
-
setDamagePerBlock
public void setDamagePerBlock(double damagePerBlock)- Mappings:
Namespace Name Mixin selector official c
Lcjj;c(D)V
intermediary method_11955
Lnet/minecraft/class_2784;method_11955(D)V
named setDamagePerBlock
Lnet/minecraft/world/border/WorldBorder;setDamagePerBlock(D)V
-
getShrinkingSpeed
- Mappings:
Namespace Name Mixin selector official p
Lcjj;p()D
intermediary method_11974
Lnet/minecraft/class_2784;method_11974()D
named getShrinkingSpeed
Lnet/minecraft/world/border/WorldBorder;getShrinkingSpeed()D
-
getWarningTime
public int getWarningTime()- Mappings:
Namespace Name Mixin selector official q
Lcjj;q()I
intermediary method_11956
Lnet/minecraft/class_2784;method_11956()I
named getWarningTime
Lnet/minecraft/world/border/WorldBorder;getWarningTime()I
-
setWarningTime
public void setWarningTime(int warningTime)- Mappings:
Namespace Name Mixin selector official b
Lcjj;b(I)V
intermediary method_11975
Lnet/minecraft/class_2784;method_11975(I)V
named setWarningTime
Lnet/minecraft/world/border/WorldBorder;setWarningTime(I)V
-
getWarningBlocks
public int getWarningBlocks()- Mappings:
Namespace Name Mixin selector official r
Lcjj;r()I
intermediary method_11972
Lnet/minecraft/class_2784;method_11972()I
named getWarningBlocks
Lnet/minecraft/world/border/WorldBorder;getWarningBlocks()I
-
setWarningBlocks
public void setWarningBlocks(int warningBlocks)- Mappings:
Namespace Name Mixin selector official c
Lcjj;c(I)V
intermediary method_11967
Lnet/minecraft/class_2784;method_11967(I)V
named setWarningBlocks
Lnet/minecraft/world/border/WorldBorder;setWarningBlocks(I)V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official s
Lcjj;s()V
intermediary method_11982
Lnet/minecraft/class_2784;method_11982()V
named tick
Lnet/minecraft/world/border/WorldBorder;tick()V
-
write
- Mappings:
Namespace Name Mixin selector official t
Lcjj;t()Lcjj$c;
intermediary method_27355
Lnet/minecraft/class_2784;method_27355()Lnet/minecraft/class_2784$class_5200;
named write
Lnet/minecraft/world/border/WorldBorder;write()Lnet/minecraft/world/border/WorldBorder$Properties;
-
load
- Mappings:
Namespace Name Mixin selector official a
Lcjj;a(Lcjj$c;)V
intermediary method_17905
Lnet/minecraft/class_2784;method_17905(Lnet/minecraft/class_2784$class_5200;)V
named load
Lnet/minecraft/world/border/WorldBorder;load(Lnet/minecraft/world/border/WorldBorder$Properties;)V
-