Class SurfaceWaterDepthFilterPlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.AbstractConditionalPlacementModifier
net.minecraft.world.gen.placementmodifier.SurfaceWaterDepthFilterPlacementModifier
- Mappings:
Namespace Name official drn
intermediary net/minecraft/class_5934
named net/minecraft/world/gen/placementmodifier/SurfaceWaterDepthFilterPlacementModifier
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
static final com.mojang.serialization.Codec<SurfaceWaterDepthFilterPlacementModifier>
Fields inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
CODEC
-
Constructor Summary
ModifierConstructorDescriptionprivate
SurfaceWaterDepthFilterPlacementModifier
(int maxWaterDepth) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
of
(int maxWaterDepth) 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<SurfaceWaterDepthFilterPlacementModifier> MODIFIER_CODEC- Mappings:
Namespace Name Mixin selector official a
Ldrn;a:Lcom/mojang/serialization/Codec;
intermediary field_29323
Lnet/minecraft/class_5934;field_29323:Lcom/mojang/serialization/Codec;
named MODIFIER_CODEC
Lnet/minecraft/world/gen/placementmodifier/SurfaceWaterDepthFilterPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
-
maxWaterDepth
private final int maxWaterDepth- Mappings:
Namespace Name Mixin selector official c
Ldrn;c:I
intermediary field_29324
Lnet/minecraft/class_5934;field_29324:I
named maxWaterDepth
Lnet/minecraft/world/gen/placementmodifier/SurfaceWaterDepthFilterPlacementModifier;maxWaterDepth:I
-
-
Constructor Details
-
SurfaceWaterDepthFilterPlacementModifier
private SurfaceWaterDepthFilterPlacementModifier(int maxWaterDepth) - Mappings:
Namespace Name Mixin selector official <init>
Ldrn;<init>(I)V
intermediary <init>
Lnet/minecraft/class_5934;<init>(I)V
named <init>
Lnet/minecraft/world/gen/placementmodifier/SurfaceWaterDepthFilterPlacementModifier;<init>(I)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Ldrn;a(I)Ldrn;
intermediary method_39662
Lnet/minecraft/class_5934;method_39662(I)Lnet/minecraft/class_5934;
named of
Lnet/minecraft/world/gen/placementmodifier/SurfaceWaterDepthFilterPlacementModifier;of(I)Lnet/minecraft/world/gen/placementmodifier/SurfaceWaterDepthFilterPlacementModifier;
-
shouldPlace
- Specified by:
shouldPlace
in classAbstractConditionalPlacementModifier
- Mappings:
Namespace Name Mixin selector official a
Ldrg;a(Ldrf;Lapf;Lgu;)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
Ldrh;b()Ldri;
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;
-