net.minecraft.world.level.levelgen.heightproviders

public class ConstantHeight

extends HeightProvider

emq
net.minecraft.world.level.levelgen.heightproviders.ConstantHeight
net.minecraft.class_6121
net.minecraft.world.gen.heightprovider.ConstantHeightProvider
net.minecraft.world.level.levelgen.heightproviders.ConstantHeight

Field summary

Modifier and TypeField
public static final ConstantHeight
a
ZERO
field_31536
ZERO
public static final com.mojang.serialization.MapCodec<ConstantHeight>
b
CODEC
field_31537
CONSTANT_CODEC
private final VerticalAnchor
d
value
field_31538
offset

Constructor summary

ModifierConstructor
private (VerticalAnchor offset)

Method summary

Modifier and TypeMethod
public static ConstantHeight
a(eek arg0)
of(VerticalAnchor arg0)
method_35383(class_5843 arg0)
create(YOffset offset)
public VerticalAnchor
b()
getValue()
method_35385()
getOffset()
public int
a(bam arg0, een arg1)
sample(RandomSource arg0, WorldGenerationContext arg1)
method_35391(class_5819 arg0, class_5868 arg1)
get(Random arg0, HeightContext arg1)
public HeightProviderType<?>
a()
getType()
method_35388()
getType()