net.minecraft.world.border

public record WorldBorder$Properties

net.minecraft.world.level.border.WorldBorder$Settings
net.minecraft.class_2784$class_5200
net.minecraft.world.border.WorldBorder$Properties

Field summary

Modifier and TypeField
private final double
centerX
comp_4774
centerX
private final double
centerZ
comp_4775
centerZ
private final double
damagePerBlock
comp_4776
damagePerBlock
private final double
safeZone
comp_4777
safeZone
private final int
warningBlocks
comp_4778
warningBlocks
private final int
warningTime
comp_4779
warningTime
private final double
size
comp_4780
size
private final long
lerpTime
comp_4781
lerpTime
private final double
lerpTarget
comp_4782
lerpTarget
public static final WorldBorder$Properties
DEFAULT
field_62538
DEFAULT
public static final com.mojang.serialization.Codec<WorldBorder$Properties>
CODEC
field_62539
CODEC

Constructor summary

ModifierConstructor
public (WorldBorder worldBorder)
public (double centerX, double centerZ, double damagePerBlock, double safeZone, int warningBlocks, int warningTime, double size, long sizeLerpTime, double sizeLerpTarget)

Method summary

Modifier and TypeMethod
public double
centerX()
comp_4774()
centerX()
public double
centerZ()
comp_4775()
centerZ()
public double
damagePerBlock()
comp_4776()
damagePerBlock()
public double
safeZone()
comp_4777()
safeZone()
public int
warningBlocks()
comp_4778()
warningBlocks()
public int
warningTime()
comp_4779()
warningTime()
public double
size()
comp_4780()
size()
public long
lerpTime()
comp_4781()
lerpTime()
public double
lerpTarget()
comp_4782()
lerpTarget()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_74150(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_74150(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)