Class HeightProvider
java.lang.Object
net.minecraft.world.gen.heightprovider.HeightProvider
- Direct Known Subclasses:
BiasedToBottomHeightProvider
,ConstantHeightProvider
,TrapezoidHeightProvider
,UniformHeightProvider
,VeryBiasedToBottomHeightProvider
- Mappings:
Namespace Name official cza
intermediary net/minecraft/class_6122
named net/minecraft/world/gen/heightprovider/HeightProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<HeightProvider>
private static com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<YOffset,HeightProvider>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract int
get(Random random, HeightContext context)
abstract HeightProviderType<?>
getType()
-
Field Details
-
field_31539
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<YOffset,HeightProvider>> field_31539- Mappings:
Namespace Name Mixin selector official a
Lcza;a:Lcom/mojang/serialization/Codec;
intermediary field_31539
Lnet/minecraft/class_6122;field_31539:Lcom/mojang/serialization/Codec;
named field_31539
Lnet/minecraft/world/gen/heightprovider/HeightProvider;field_31539:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Lcza;c:Lcom/mojang/serialization/Codec;
intermediary field_31540
Lnet/minecraft/class_6122;field_31540:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/heightprovider/HeightProvider;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
HeightProvider
public HeightProvider()
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector official a
Lcza;a(Ljava/util/Random;Lcql;)I
intermediary method_35391
Lnet/minecraft/class_6122;method_35391(Ljava/util/Random;Lnet/minecraft/class_5868;)I
named get
Lnet/minecraft/world/gen/heightprovider/HeightProvider;get(Ljava/util/Random;Lnet/minecraft/world/gen/HeightContext;)I
-
getType
- Mappings:
Namespace Name Mixin selector official a
Lcza;a()Lczb;
intermediary method_35388
Lnet/minecraft/class_6122;method_35388()Lnet/minecraft/class_6123;
named getType
Lnet/minecraft/world/gen/heightprovider/HeightProvider;getType()Lnet/minecraft/world/gen/heightprovider/HeightProviderType;
-