net.minecraft.world.gen.heightprovider

public abstract class HeightProvider

net.minecraft.world.level.levelgen.heightproviders.HeightProvider
net.minecraft.world.level.levelgen.heightproviders.HeightProvider
net.minecraft.class_6122
net.minecraft.world.gen.heightprovider.HeightProvider

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<YOffset, HeightProvider>>
CONSTANT_OR_DISPATCH_CODEC
CONSTANT_OR_DISPATCH_CODEC
field_31539
OFFSET_OR_HEIGHT_CODEC
public static final com.mojang.serialization.Codec<HeightProvider>
CODEC
CODEC
field_31540
CODEC

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public abstract int
sample(RandomSource random, WorldGenerationContext heightAccessor)
sample(RandomSource random, WorldGenerationContext heightAccessor)
method_35391(class_5819 arg0, class_5868 arg1)
get(Random random, HeightContext context)
public abstract HeightProviderType<?>
getType()
getType()
method_35388()
getType()