net.minecraft.world.gen.heightprovider

public abstract class 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
field_31539
OFFSET_OR_HEIGHT_CODEC
public static final com.mojang.serialization.Codec<HeightProvider>
CODEC
field_31540
CODEC

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public abstract int
sample(RandomSource random, WorldGenerationContext heightAccessor)
method_35391(class_5819 arg0, class_5868 arg1)
get(Random random, HeightContext context)
public abstract HeightProviderType<?>
getType()
method_35388()
getType()
private static com.mojang.datafixers.util.Either
lambda$static$2(HeightProvider arg0)
method_35390(class_6122 arg0)
method_35390(HeightProvider provider)
private static HeightProvider
lambda$static$1(com.mojang.datafixers.util.Either arg0)
method_35389(com.mojang.datafixers.util.Either arg0)
method_35389(com.mojang.datafixers.util.Either either)
private static HeightProvider
lambda$static$0(HeightProvider arg0)
method_35392(class_6122 arg0)
method_35392(HeightProvider provider)