net.minecraft.world.level.border

public class WorldBorder

dha
net.minecraft.world.level.border.WorldBorder
net.minecraft.class_2784
net.minecraft.world.border.WorldBorder
net.minecraft.src.C_2110_
net.minecraft.world.level.border.WorldBorder

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(gw arg0)
isWithinBounds(BlockPos arg0)
method_11952(class_2338 arg0)
contains(BlockPos pos)
m_61937_(C_4675_ arg0)
public boolean
a(cpc arg0)
isWithinBounds(ChunkPos arg0)
method_11951(class_1923 arg0)
contains(ChunkPos pos)
m_61927_(C_1560_ arg0)
public boolean
a(double arg0, double arg1)
isWithinBounds(double arg0, double arg1)
method_35317(double arg0, double arg1)
contains(double x, double z)
m_156093_(double p_156095_, double arg1)
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)
m_187562_(double p_187564_, double arg1, double arg2)
public boolean
a(ehi arg0)
isWithinBounds(AABB arg0)
method_11966(class_238 arg0)
contains(Box box)
m_61935_(C_3040_ arg0)
public BlockPos
b(double arg0, double arg1, double arg2)
clampToBounds(double arg0, double arg1, double arg2)
method_39538(double arg0, double arg1, double arg2)
clamp(double x, double y, double z)
m_187569_(double p_187571_, double arg1, double arg2)
public double
a(biq arg0)
getDistanceToBorder(Entity arg0)
method_11979(class_1297 arg0)
getDistanceInsideBorder(Entity entity)
m_61925_(C_507_ arg0)
public VoxelShape
c()
getCollisionShape()
method_17903()
asVoxelShape()
m_61946_()
public double
b(double arg0, double arg1)
getDistanceToBorder(double arg0, double arg1)
method_11961(double arg0, double arg1)
getDistanceInsideBorder(double x, double z)
m_61941_(double p_61943_, double arg1)
public boolean
a(biq arg0, ehi arg1)
isInsideCloseToBorder(Entity arg0, AABB arg1)
method_39459(class_1297 arg0, class_238 arg1)
canCollide(Entity entity, Box box)
m_187566_(C_507_ p_187568_, C_3040_ arg1)
public BorderStatus
d()
getStatus()
method_11968()
getStage()
m_61954_()
public double
e()
getMinX()
method_11976()
getBoundWest()
m_61955_()
public double
f()
getMinZ()
method_11958()
getBoundNorth()
m_61956_()
public double
g()
getMaxX()
method_11963()
getBoundEast()
m_61957_()
public double
h()
getMaxZ()
method_11977()
getBoundSouth()
m_61958_()
public double
a()
getCenterX()
method_11964()
getCenterX()
m_6347_()
public double
b()
getCenterZ()
method_11980()
getCenterZ()
m_6345_()
public void
c(double arg0, double arg1)
setCenter(double arg0, double arg1)
method_11978(double arg0, double arg1)
setCenter(double x, double z)
m_61949_(double p_61951_, double arg1)
public double
i()
getSize()
method_11965()
getSize()
m_61959_()
public long
j()
getLerpRemainingTime()
method_11962()
getSizeLerpTime()
m_61960_()
public double
k()
getLerpTarget()
method_11954()
getSizeLerpTarget()
m_61961_()
public void
a(double arg0)
setSize(double arg0)
method_11969(double arg0)
setSize(double size)
m_61917_(double arg0)
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)
m_61919_(double p_61921_, double arg1, long arg2)
protected List<BorderChangeListener>
l()
getListeners()
method_11970()
getListeners()
m_61962_()
public void
a(dgy arg0)
addListener(BorderChangeListener arg0)
method_11983(class_2780 arg0)
addListener(WorldBorderListener listener)
m_61929_(C_2107_ arg0)
public void
b(dgy arg0)
removeListener(BorderChangeListener arg0)
method_35318(class_2780 arg0)
removeListener(WorldBorderListener listener)
m_156096_(C_2107_ arg0)
public void
a(int arg0)
setAbsoluteMaxSize(int arg0)
method_11973(int arg0)
setMaxRadius(int maxRadius)
m_61923_(int arg0)
public int
m()
getAbsoluteMaxSize()
method_11959()
getMaxRadius()
m_61963_()
public double
n()
getDamageSafeZone()
method_11971()
getSafeZone()
m_61964_()
public void
b(double arg0)
setDamageSafeZone(double arg0)
method_11981(double arg0)
setSafeZone(double safeZone)
m_61939_(double arg0)
public double
o()
getDamagePerBlock()
method_11953()
getDamagePerBlock()
m_61965_()
public void
c(double arg0)
setDamagePerBlock(double arg0)
method_11955(double arg0)
setDamagePerBlock(double damagePerBlock)
m_61947_(double arg0)
public double
p()
getLerpSpeed()
method_11974()
getShrinkingSpeed()
m_61966_()
public int
q()
getWarningTime()
method_11956()
getWarningTime()
m_61967_()
public void
b(int arg0)
setWarningTime(int arg0)
method_11975(int arg0)
setWarningTime(int warningTime)
m_61944_(int arg0)
public int
r()
getWarningBlocks()
method_11972()
getWarningBlocks()
m_61968_()
public void
c(int arg0)
setWarningBlocks(int arg0)
method_11967(int arg0)
setWarningBlocks(int warningBlocks)
m_61952_(int arg0)
public void
s()
tick()
method_11982()
tick()
m_61969_()
public WorldBorder$Settings
t()
createSettings()
method_27355()
write()
m_61970_()
public void
a(dha$c arg0)
applySettings(WorldBorder$Settings arg0)
method_17905(class_2784$class_5200 arg0)
load(WorldBorder$Properties properties)
m_61931_(C_2110_$C_2114_ arg0)