Class HeightProvider
java.lang.Object
net.minecraft.world.gen.heightprovider.HeightProvider
- Direct Known Subclasses:
BiasedToBottomHeightProvider
,ConstantHeightProvider
,TrapezoidHeightProvider
,UniformHeightProvider
,VeryBiasedToBottomHeightProvider
,WeightedListHeightProvider
- Mappings:
Namespace Name named net/minecraft/world/gen/heightprovider/HeightProvider
intermediary net/minecraft/class_6122
official egs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HeightProvider> private static final 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
-
OFFSET_OR_HEIGHT_CODEC
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<YOffset,HeightProvider>> OFFSET_OR_HEIGHT_CODEC- Mappings:
Namespace Name Mixin selector named OFFSET_OR_HEIGHT_CODEC
Lnet/minecraft/world/gen/heightprovider/HeightProvider;OFFSET_OR_HEIGHT_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_31539
Lnet/minecraft/class_6122;field_31539:Lcom/mojang/serialization/Codec;
official a
Legs;a:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/heightprovider/HeightProvider;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_31540
Lnet/minecraft/class_6122;field_31540:Lcom/mojang/serialization/Codec;
official c
Legs;c:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
HeightProvider
public HeightProvider()
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/world/gen/heightprovider/HeightProvider;get(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/gen/HeightContext;)I
intermediary method_35391
Lnet/minecraft/class_6122;method_35391(Lnet/minecraft/class_5819;Lnet/minecraft/class_5868;)I
official a
Legs;a(Lazh;Ldys;)I
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/heightprovider/HeightProvider;getType()Lnet/minecraft/world/gen/heightprovider/HeightProviderType;
intermediary method_35388
Lnet/minecraft/class_6122;method_35388()Lnet/minecraft/class_6123;
official a
Legs;a()Legt;
-