net.minecraft.world.level.levelgen.heightproviders

public class ConstantHeight

extends HeightProvider

cza
net.minecraft.world.level.levelgen.heightproviders.ConstantHeight
net.minecraft.class_6121
net.minecraft.world.gen.heightprovider.ConstantHeightProvider
net.minecraft.src.C_141403_
net.minecraft.world.level.levelgen.heightproviders.ConstantHeight

Field summary

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

Constructor summary

ModifierConstructor
private (VerticalAnchor offset)

Method summary

Modifier and TypeMethod
public static ConstantHeight
a(cqk arg0)
of(VerticalAnchor arg0)
method_35383(class_5843 arg0)
create(YOffset offset)
m_161956_(C_141347_ p_161957_)
public VerticalAnchor
b()
getValue()
method_35385()
getOffset()
m_161963_()
public int
a(Random arg0, cqm arg1)
sample(Random arg0, WorldGenerationContext arg1)
method_35391(Random arg0, class_5868 arg1)
get(Random arg0, HeightContext arg1)
m_142233_(Random p_161962_, C_141351_ arg1)
public HeightProviderType<?>
a()
getType()
method_35388()
getType()
m_142002_()