net.minecraft.world.level.border

public class WorldBorder

dyo
net.minecraft.world.level.border.WorldBorder
net.minecraft.class_2784
net.minecraft.world.border.WorldBorder
net.minecraft.world.level.border.WorldBorder

Field summary

Modifier and TypeField
public static final double
b
MAX_SIZE
field_33643
STATIC_AREA_SIZE
public static final double
c
MAX_CENTER_COORDINATE
field_36191
MAX_CENTER_COORDINATES
private final List<BorderChangeListener>
a
listeners
field_12730
listeners
private double
e
damagePerBlock
field_12733
damagePerBlock
private double
f
damageSafeZone
field_12731
safeZone
private int
g
warningTime
field_12735
warningTime
private int
h
warningBlocks
field_12734
warningBlocks
private double
i
centerX
field_12738
centerX
private double
j
centerZ
field_12737
centerZ
int
k
absoluteMaxSize
field_12732
maxRadius
private WorldBorder$BorderExtent
l
extent
field_12736
area
public static final WorldBorder$Settings
d
DEFAULT_SETTINGS
field_24122
DEFAULT_BORDER

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(ji arg0)
isWithinBounds(BlockPos arg0)
method_11952(class_2338 arg0)
contains(BlockPos pos)
public boolean
a(fbb arg0)
isWithinBounds(Vec3 arg0)
method_61115(class_243 arg0)
contains(Vec3d pos)
public boolean
a(dfp arg0)
isWithinBounds(ChunkPos arg0)
method_11951(class_1923 arg0)
contains(ChunkPos chunkPos)
public boolean
a(faw arg0)
isWithinBounds(AABB arg0)
method_11966(class_238 arg0)
contains(Box box)
private boolean
a(double arg0, double arg1, double arg2, double arg3)
isWithinBounds(double arg0, double arg1, double arg2, double arg3)
method_61114(double arg0, double arg1, double arg2, double arg3)
contains(double minX, double minZ, double maxX, double maxZ)
public boolean
a(double arg0, double arg1)
isWithinBounds(double arg0, double arg1)
method_35317(double arg0, double arg1)
contains(double x, double z)
public boolean
a(double arg0, double arg1, double arg2)
isWithinBounds(double arg0, double arg1, double arg2)
method_39458(double arg0, double arg1, double arg2)
contains(double x, double z, double margin)
public BlockPos
b(ji arg0)
clampToBounds(BlockPos arg0)
method_61117(class_2338 arg0)
clampFloored(BlockPos pos)
public BlockPos
b(fbb arg0)
clampToBounds(Vec3 arg0)
method_61116(class_243 arg0)
clampFloored(Vec3d pos)
public BlockPos
b(double arg0, double arg1, double arg2)
clampToBounds(double arg0, double arg1, double arg2)
method_39538(double arg0, double arg1, double arg2)
clampFloored(double x, double y, double z)
public Vec3
c(fbb arg0)
clampVec3ToBound(Vec3 arg0)
method_61770(class_243 arg0)
clamp(Vec3d pos)
public Vec3
c(double arg0, double arg1, double arg2)
clampVec3ToBound(double arg0, double arg1, double arg2)
method_61769(double arg0, double arg1, double arg2)
clamp(double x, double y, double z)
public double
a(bum arg0)
getDistanceToBorder(Entity arg0)
method_11979(class_1297 arg0)
getDistanceInsideBorder(Entity entity)
public VoxelShape
c()
getCollisionShape()
method_17903()
asVoxelShape()
public double
b(double arg0, double arg1)
getDistanceToBorder(double arg0, double arg1)
method_11961(double arg0, double arg1)
getDistanceInsideBorder(double x, double z)
public boolean
a(bum arg0, faw arg1)
isInsideCloseToBorder(Entity arg0, AABB arg1)
method_39459(class_1297 arg0, class_238 arg1)
canCollide(Entity entity, Box box)
public BorderStatus
d()
getStatus()
method_11968()
getStage()
public double
e()
getMinX()
method_11976()
getBoundWest()
public double
f()
getMinZ()
method_11958()
getBoundNorth()
public double
g()
getMaxX()
method_11963()
getBoundEast()
public double
h()
getMaxZ()
method_11977()
getBoundSouth()
public double
a()
getCenterX()
method_11964()
getCenterX()
public double
b()
getCenterZ()
method_11980()
getCenterZ()
public void
c(double arg0, double arg1)
setCenter(double arg0, double arg1)
method_11978(double arg0, double arg1)
setCenter(double x, double z)
public double
i()
getSize()
method_11965()
getSize()
public long
j()
getLerpRemainingTime()
method_11962()
getSizeLerpTime()
public double
k()
getLerpTarget()
method_11954()
getSizeLerpTarget()
public void
a(double arg0)
setSize(double arg0)
method_11969(double arg0)
setSize(double size)
public void
a(double arg0, double arg1, long arg2)
lerpSizeBetween(double arg0, double arg1, long arg2)
method_11957(double arg0, double arg1, long arg2)
interpolateSize(double fromSize, double toSize, long time)
protected List<BorderChangeListener>
l()
getListeners()
method_11970()
getListeners()
public void
a(dym arg0)
addListener(BorderChangeListener arg0)
method_11983(class_2780 arg0)
addListener(WorldBorderListener listener)
public void
b(dym arg0)
removeListener(BorderChangeListener arg0)
method_35318(class_2780 arg0)
removeListener(WorldBorderListener listener)
public void
a(int arg0)
setAbsoluteMaxSize(int arg0)
method_11973(int arg0)
setMaxRadius(int maxRadius)
public int
m()
getAbsoluteMaxSize()
method_11959()
getMaxRadius()
public double
n()
getDamageSafeZone()
method_11971()
getSafeZone()
public void
b(double arg0)
setDamageSafeZone(double arg0)
method_11981(double arg0)
setSafeZone(double safeZone)
public double
o()
getDamagePerBlock()
method_11953()
getDamagePerBlock()
public void
c(double arg0)
setDamagePerBlock(double arg0)
method_11955(double arg0)
setDamagePerBlock(double damagePerBlock)
public double
p()
getLerpSpeed()
method_11974()
getShrinkingSpeed()
public int
q()
getWarningTime()
method_11956()
getWarningTime()
public void
b(int arg0)
setWarningTime(int arg0)
method_11975(int arg0)
setWarningTime(int warningTime)
public int
r()
getWarningBlocks()
method_11972()
getWarningBlocks()
public void
c(int arg0)
setWarningBlocks(int arg0)
method_11967(int arg0)
setWarningBlocks(int warningBlocks)
public void
s()
tick()
method_11982()
tick()
public WorldBorder$Settings
t()
createSettings()
method_27355()
write()
public void
a(dyo$c arg0)
applySettings(WorldBorder$Settings arg0)
method_17905(class_2784$class_5200 arg0)
load(WorldBorder$Properties properties)