Class BlockFilterPlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.AbstractConditionalPlacementModifier
net.minecraft.world.gen.placementmodifier.BlockFilterPlacementModifier
- Mappings:
Namespace Name official dxz
intermediary net/minecraft/class_6658
named net/minecraft/world/gen/placementmodifier/BlockFilterPlacementModifier
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockFilterPlacementModifier>
private final BlockPredicate
Fields inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
static BlockFilterPlacementModifier
of
(BlockPredicate predicate) protected boolean
shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) Methods inherited from class net.minecraft.world.gen.placementmodifier.AbstractConditionalPlacementModifier
getPositions
-
Field Details
-
MODIFIER_CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldxz;a:Lcom/mojang/serialization/Codec;
intermediary field_35075
Lnet/minecraft/class_6658;field_35075:Lcom/mojang/serialization/Codec;
named MODIFIER_CODEC
Lnet/minecraft/world/gen/placementmodifier/BlockFilterPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
-
predicate
- Mappings:
Namespace Name Mixin selector official c
Ldxz;c:Ldpx;
intermediary field_35076
Lnet/minecraft/class_6658;field_35076:Lnet/minecraft/class_6646;
named predicate
Lnet/minecraft/world/gen/placementmodifier/BlockFilterPlacementModifier;predicate:Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
-
-
Constructor Details
-
BlockFilterPlacementModifier
- Mappings:
Namespace Name Mixin selector official <init>
Ldxz;<init>(Ldpx;)V
intermediary <init>
Lnet/minecraft/class_6658;<init>(Lnet/minecraft/class_6646;)V
named <init>
Lnet/minecraft/world/gen/placementmodifier/BlockFilterPlacementModifier;<init>(Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Ldxz;a(Ldpx;)Ldxz;
intermediary method_39618
Lnet/minecraft/class_6658;method_39618(Lnet/minecraft/class_6646;)Lnet/minecraft/class_6658;
named of
Lnet/minecraft/world/gen/placementmodifier/BlockFilterPlacementModifier;of(Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)Lnet/minecraft/world/gen/placementmodifier/BlockFilterPlacementModifier;
-
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;
-