net.minecraft.world.level.border

public class WorldBorder

cfr
net.minecraft.world.level.border.WorldBorder
net.minecraft.class_2784
net.minecraft.world.border.WorldBorder
net.minecraft.world.border.WorldBorder
net.minecraft.server.v1_16_R2.WorldBorder

Field summary

Modifier and TypeField
private final List<BorderChangeListener>
a
listeners
field_12730
listeners
field_177758_a
private double
b
damagePerBlock
field_12733
damagePerBlock
field_177763_i
private double
d
damageSafeZone
field_12731
buffer
field_177760_j
private int
e
warningTime
field_12735
warningTime
field_177761_k
private int
f
warningBlocks
field_12734
warningBlocks
field_177759_l
private double
g
centerX
field_12738
centerX
field_177756_b
private double
h
centerZ
field_12737
centerZ
field_177757_c
private int
i
absoluteMaxSize
field_12732
maxWorldBorderRadius
field_177762_h
private WorldBorder$BorderExtent
j
extent
field_12736
area
field_212674_i
public static final WorldBorder$Settings
c
DEFAULT_SETTINGS
field_24122
DEFAULT_BORDER
field_235925_b_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(fx arg0)
isWithinBounds(BlockPos arg0)
method_11952(class_2338 arg0)
contains(BlockPos pos)
func_177746_a(BlockPos arg0)
public boolean
a(bra arg0)
isWithinBounds(ChunkPos arg0)
method_11951(class_1923 arg0)
contains(ChunkPos pos)
func_177730_a(ChunkPos arg0)
isInBounds(ChunkCoordIntPair arg0)
public boolean
a(dcf arg0)
isWithinBounds(AABB arg0)
method_11966(class_238 arg0)
contains(Box box)
func_177743_a(AxisAlignedBB arg0)
public double
a(apx arg0)
getDistanceToBorder(Entity arg0)
method_11979(class_1297 arg0)
getDistanceInsideBorder(Entity entity)
func_177745_a(Entity arg0)
public VoxelShape
c()
getCollisionShape()
method_17903()
asVoxelShape()
func_222521_a()
public double
b(double arg0, double arg1)
getDistanceToBorder(double arg0, double arg1)
method_11961(double arg0, double arg1)
getDistanceInsideBorder(double x, double z)
func_177729_b(double arg0, double arg1)
public double
e()
getMinX()
method_11976()
getBoundWest()
func_177726_b()
public double
f()
getMinZ()
method_11958()
getBoundNorth()
func_177736_c()
public double
g()
getMaxX()
method_11963()
getBoundEast()
func_177728_d()
public double
h()
getMaxZ()
method_11977()
getBoundSouth()
func_177733_e()
public double
a()
getCenterX()
method_11964()
getCenterX()
func_230316_a_()
getCenterX()
public double
b()
getCenterZ()
method_11980()
getCenterZ()
func_230317_b_()
getCenterZ()
public void
c(double arg0, double arg1)
setCenter(double arg0, double arg1)
method_11978(double arg0, double arg1)
setCenter(double x, double z)
func_177739_c(double arg0, double arg1)
setCenter(double arg0, double arg1)
public double
i()
getSize()
method_11965()
getSize()
func_177741_h()
getSize()
public long
j()
getLerpRemainingTime()
method_11962()
getTargetRemainingTime()
func_177732_i()
public double
k()
getLerpTarget()
method_11954()
getTargetSize()
func_177751_j()
public void
a(double arg0)
setSize(double arg0)
method_11969(double arg0)
setSize(double size)
func_177750_a(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)
func_177738_a(double arg0, double arg1, long arg2)
transitionSizeBetween(double arg0, double arg1, long arg2)
protected List<BorderChangeListener>
l()
getListeners()
method_11970()
getListeners()
func_177735_k()
public void
a(cfp arg0)
addListener(BorderChangeListener arg0)
method_11983(class_2780 arg0)
addListener(WorldBorderListener listener)
func_177737_a(IBorderListener arg0)
public void
a(int arg0)
setAbsoluteMaxSize(int arg0)
method_11973(int arg0)
setMaxWorldBorderRadius(int radius)
func_177725_a(int arg0)
public int
m()
getAbsoluteMaxSize()
method_11959()
getMaxWorldBorderRadius()
func_177722_l()
public double
n()
getDamageSafeZone()
method_11971()
getBuffer()
func_177742_m()
getDamageBuffer()
public void
b(double arg0)
setDamageSafeZone(double arg0)
method_11981(double arg0)
setBuffer(double buffer)
func_177724_b(double arg0)
setDamageBuffer(double arg0)
public double
o()
getDamagePerBlock()
method_11953()
getDamagePerBlock()
func_177727_n()
getDamageAmount()
public void
c(double arg0)
setDamagePerBlock(double arg0)
method_11955(double arg0)
setDamagePerBlock(double damagePerBlock)
func_177744_c(double arg0)
setDamageAmount(double arg0)
public int
q()
getWarningTime()
method_11956()
getWarningTime()
func_177740_p()
getWarningTime()
public void
b(int arg0)
setWarningTime(int arg0)
method_11975(int arg0)
setWarningTime(int warningTime)
func_177723_b(int arg0)
setWarningTime(int arg0)
public int
r()
getWarningBlocks()
method_11972()
getWarningBlocks()
func_177748_q()
getWarningDistance()
public void
c(int arg0)
setWarningBlocks(int arg0)
method_11967(int arg0)
setWarningBlocks(int warningBlocks)
func_177747_c(int arg0)
setWarningDistance(int arg0)
public void
s()
tick()
method_11982()
tick()
func_212673_r()
public WorldBorder$Settings
t()
createSettings()
method_27355()
write()
func_235927_t_()
public void
a(cfr$c arg0)
applySettings(WorldBorder$Settings arg0)
method_17905(class_2784$class_5200 arg0)
load(WorldBorder$Properties properties)
func_235926_a_(WorldBorder$Serializer arg0)
public BorderStatus
d()
getStatus()
method_11968()
getStage()
func_177734_a()
public double
p()
getLerpSpeed()
method_11974()
getShrinkingSpeed()
func_177749_o()