net.minecraft.world.level.levelgen.heightproviders

public class ConstantHeight

extends HeightProvider

ehw
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.MapCodec<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(dzs 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(ayw arg0, dzv arg1)
sample(RandomSource arg0, WorldGenerationContext arg1)
method_35391(class_5819 arg0, class_5868 arg1)
get(Random arg0, HeightContext arg1)
m_213859_(C_212974_ p_226301_, C_141351_ arg1)
public HeightProviderType<?>
a()
getType()
method_35388()
getType()
m_142002_()