net.minecraft.world.level.border

public class WorldBorder

cmj
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
field_33643
f_156092_
private final List<BorderChangeListener>
a
listeners
field_12730
listeners
f_61905_
private double
b
damagePerBlock
field_12733
damagePerBlock
f_61906_
private double
e
damageSafeZone
field_12731
safeZone
f_61908_
private int
f
warningTime
field_12735
warningTime
f_61909_
private int
g
warningBlocks
field_12734
warningBlocks
f_61910_
private double
h
centerX
field_12738
centerX
f_61911_
private double
i
centerZ
field_12737
centerZ
f_61912_
int
j
absoluteMaxSize
field_12732
maxRadius
f_61913_
private WorldBorder$BorderExtent
k
extent
field_12736
area
f_61914_
public static final WorldBorder$Settings
d
DEFAULT_SETTINGS
field_24122
DEFAULT_BORDER
f_61907_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(gg arg0)
isWithinBounds(BlockPos arg0)
method_11952(class_2338 arg0)
contains(BlockPos pos)
m_61937_(C_4675_ arg0)
public boolean
a(bvv arg0)
isWithinBounds(ChunkPos arg0)
method_11951(class_1923 arg0)
contains(ChunkPos pos)
m_61927_(C_1560_ arg0)
isInBounds(ChunkCoordIntPair 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(dmv arg0)
isWithinBounds(AABB arg0)
method_11966(class_238 arg0)
contains(Box box)
m_61935_(C_3040_ arg0)
public double
a(atg 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 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_()
getCenterX()
public double
b()
getCenterZ()
method_11980()
getCenterZ()
m_6345_()
getCenterZ()
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)
setCenter(double arg0, double arg1)
public double
i()
getSize()
method_11965()
getSize()
m_61959_()
getSize()
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)
setSize(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)
transitionSizeBetween(double arg0, double arg1, long arg2)
protected List<BorderChangeListener>
l()
getListeners()
method_11970()
getListeners()
m_61962_()
public void
a(cmh arg0)
addListener(BorderChangeListener arg0)
method_11983(class_2780 arg0)
addListener(WorldBorderListener listener)
m_61929_(C_2107_ arg0)
public void
b(cmh 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_()
getDamageBuffer()
public void
b(double arg0)
setDamageSafeZone(double arg0)
method_11981(double arg0)
setSafeZone(double safeZone)
m_61939_(double arg0)
setDamageBuffer(double arg0)
public double
o()
getDamagePerBlock()
method_11953()
getDamagePerBlock()
m_61965_()
getDamageAmount()
public void
c(double arg0)
setDamagePerBlock(double arg0)
method_11955(double arg0)
setDamagePerBlock(double damagePerBlock)
m_61947_(double arg0)
setDamageAmount(double arg0)
public double
p()
getLerpSpeed()
method_11974()
getShrinkingSpeed()
m_61966_()
public int
q()
getWarningTime()
method_11956()
getWarningTime()
m_61967_()
getWarningTime()
public void
b(int arg0)
setWarningTime(int arg0)
method_11975(int arg0)
setWarningTime(int warningTime)
m_61944_(int arg0)
setWarningTime(int arg0)
public int
r()
getWarningBlocks()
method_11972()
getWarningBlocks()
m_61968_()
getWarningDistance()
public void
c(int arg0)
setWarningBlocks(int arg0)
method_11967(int arg0)
setWarningBlocks(int warningBlocks)
m_61952_(int arg0)
setWarningDistance(int arg0)
public void
s()
tick()
method_11982()
tick()
m_61969_()
public WorldBorder$Settings
t()
createSettings()
method_27355()
write()
m_61970_()
public void
a(cmj$c arg0)
applySettings(WorldBorder$Settings arg0)
method_17905(class_2784$class_5200 arg0)
load(WorldBorder$Properties properties)
m_61931_(C_2110_$C_2114_ arg0)