Class SurfaceThresholdFilterPlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.AbstractConditionalPlacementModifier
net.minecraft.world.gen.placementmodifier.SurfaceThresholdFilterPlacementModifier
- Mappings:
Namespace Name official dys
intermediary net/minecraft/class_6584
named net/minecraft/world/gen/placementmodifier/SurfaceThresholdFilterPlacementModifier
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Heightmap.Type
private final int
private final int
static final com.mojang.serialization.Codec<SurfaceThresholdFilterPlacementModifier>
Fields inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
CODEC
-
Constructor Summary
ModifierConstructorDescriptionprivate
SurfaceThresholdFilterPlacementModifier
(Heightmap.Type heightmap, int min, int max) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
of
(Heightmap.Type heightmap, int min, int max) protected boolean
shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) Methods inherited from class net.minecraft.world.gen.placementmodifier.AbstractConditionalPlacementModifier
getPositions
-
Field Details
-
MODIFIER_CODEC
public static final com.mojang.serialization.Codec<SurfaceThresholdFilterPlacementModifier> MODIFIER_CODEC- Mappings:
Namespace Name Mixin selector official a
Ldys;a:Lcom/mojang/serialization/Codec;
intermediary field_34721
Lnet/minecraft/class_6584;field_34721:Lcom/mojang/serialization/Codec;
named MODIFIER_CODEC
Lnet/minecraft/world/gen/placementmodifier/SurfaceThresholdFilterPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
-
heightmap
- Mappings:
Namespace Name Mixin selector official c
Ldys;c:Ldoq$a;
intermediary field_34722
Lnet/minecraft/class_6584;field_34722:Lnet/minecraft/class_2902$class_2903;
named heightmap
Lnet/minecraft/world/gen/placementmodifier/SurfaceThresholdFilterPlacementModifier;heightmap:Lnet/minecraft/world/Heightmap$Type;
-
min
private final int min- Mappings:
Namespace Name Mixin selector official d
Ldys;d:I
intermediary field_34723
Lnet/minecraft/class_6584;field_34723:I
named min
Lnet/minecraft/world/gen/placementmodifier/SurfaceThresholdFilterPlacementModifier;min:I
-
max
private final int max- Mappings:
Namespace Name Mixin selector official e
Ldys;e:I
intermediary field_34724
Lnet/minecraft/class_6584;field_34724:I
named max
Lnet/minecraft/world/gen/placementmodifier/SurfaceThresholdFilterPlacementModifier;max:I
-
-
Constructor Details
-
SurfaceThresholdFilterPlacementModifier
- Mappings:
Namespace Name Mixin selector official <init>
Ldys;<init>(Ldoq$a;II)V
intermediary <init>
Lnet/minecraft/class_6584;<init>(Lnet/minecraft/class_2902$class_2903;II)V
named <init>
Lnet/minecraft/world/gen/placementmodifier/SurfaceThresholdFilterPlacementModifier;<init>(Lnet/minecraft/world/Heightmap$Type;II)V
-
-
Method Details
-
of
public static SurfaceThresholdFilterPlacementModifier of(Heightmap.Type heightmap, int min, int max) - Mappings:
Namespace Name Mixin selector official a
Ldys;a(Ldoq$a;II)Ldys;
intermediary method_39661
Lnet/minecraft/class_6584;method_39661(Lnet/minecraft/class_2902$class_2903;II)Lnet/minecraft/class_6584;
named of
Lnet/minecraft/world/gen/placementmodifier/SurfaceThresholdFilterPlacementModifier;of(Lnet/minecraft/world/Heightmap$Type;II)Lnet/minecraft/world/gen/placementmodifier/SurfaceThresholdFilterPlacementModifier;
-
shouldPlace
- Specified by:
shouldPlace
in classAbstractConditionalPlacementModifier
- Mappings:
Namespace Name Mixin selector official a
Ldym;a(Ldyl;Lauv;Lhx;)Z
intermediary method_38918
Lnet/minecraft/class_6661;method_38918(Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Z
named shouldPlace
Lnet/minecraft/world/gen/placementmodifier/AbstractConditionalPlacementModifier;shouldPlace(Lnet/minecraft/world/gen/feature/FeaturePlacementContext;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Z
-
getType
- Specified by:
getType
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector official b
Ldyn;b()Ldyo;
intermediary method_39615
Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
named getType
Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getType()Lnet/minecraft/world/gen/placementmodifier/PlacementModifierType;
-