Class SurfaceRelativeThresholdDecoratorConfig
java.lang.Object
net.minecraft.class_6797
net.minecraft.world.gen.decorator.ConditionalDecorator
net.minecraft.world.gen.decorator.SurfaceRelativeThresholdDecoratorConfig
- Mappings:
Namespace Name official dduintermediary net/minecraft/class_6584named net/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SurfaceRelativeThresholdDecoratorConfig>private final Heightmap.Typeprivate final intprivate final intFields inherited from class net.minecraft.class_6797
field_35736 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSurfaceRelativeThresholdDecoratorConfig(Heightmap.Type heightmap, int min, int max) -
Method Summary
Modifier and TypeMethodDescriptionclass_6798<?>method_39661(Heightmap.Type type, int int2, int int3) protected booleanshouldPlace(DecoratorContext context, Random random, BlockPos blockPos) Methods inherited from class net.minecraft.world.gen.decorator.ConditionalDecorator
getPositions
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLddu;a:Lcom/mojang/serialization/Codec;intermediary field_34721Lnet/minecraft/class_6584;field_34721:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;CODEC:Lcom/mojang/serialization/Codec;
-
heightmap
- Mappings:
Namespace Name Mixin selector official cLddu;c:Lcsu$a;intermediary field_34722Lnet/minecraft/class_6584;field_34722:Lnet/minecraft/class_2902$class_2903;named heightmapLnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;heightmap:Lnet/minecraft/world/Heightmap$Type;
-
min
private final int min- Mappings:
Namespace Name Mixin selector official dLddu;d:Iintermediary field_34723Lnet/minecraft/class_6584;field_34723:Inamed minLnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;min:I
-
max
private final int max- Mappings:
Namespace Name Mixin selector official eLddu;e:Iintermediary field_34724Lnet/minecraft/class_6584;field_34724:Inamed maxLnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;max:I
-
-
Constructor Details
-
SurfaceRelativeThresholdDecoratorConfig
- Mappings:
Namespace Name Mixin selector official <init>Lddu;<init>(Lcsu$a;II)Vintermediary <init>Lnet/minecraft/class_6584;<init>(Lnet/minecraft/class_2902$class_2903;II)Vnamed <init>Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;<init>(Lnet/minecraft/world/Heightmap$Type;II)V
-
-
Method Details
-
method_39661
public static SurfaceRelativeThresholdDecoratorConfig method_39661(Heightmap.Type type, int int2, int int3) - Mappings:
Namespace Name Mixin selector official aLddu;a(Lcsu$a;II)Lddu;intermediary method_39661Lnet/minecraft/class_6584;method_39661(Lnet/minecraft/class_2902$class_2903;II)Lnet/minecraft/class_6584;named method_39661Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;method_39661(Lnet/minecraft/world/Heightmap$Type;II)Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;
-
shouldPlace
- Specified by:
shouldPlacein classConditionalDecorator- Mappings:
Namespace Name Mixin selector official aLddo;a(Lddn;Ljava/util/Random;Lgh;)Zintermediary method_38918Lnet/minecraft/class_6661;method_38918(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Znamed shouldPlaceLnet/minecraft/world/gen/decorator/ConditionalDecorator;shouldPlace(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
-
method_39615
- Specified by:
method_39615in classclass_6797- Mappings:
Namespace Name Mixin selector official bLddp;b()Lddq;intermediary method_39615Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;named method_39615Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
-