Class BlockFilterPlacementModifier
java.lang.Object
net.minecraft.world.gen.decorator.PlacementModifier
net.minecraft.world.gen.decorator.AbstractConditionalPlacementModifier
net.minecraft.world.gen.decorator.BlockFilterPlacementModifier
- Mappings:
Namespace Name official ddcintermediary net/minecraft/class_6658named net/minecraft/world/gen/decorator/BlockFilterPlacementModifier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockFilterPlacementModifier>private final BlockPredicateFields inherited from class net.minecraft.world.gen.decorator.PlacementModifier
CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()static BlockFilterPlacementModifierof(BlockPredicate predicate) protected booleanshouldPlace(DecoratorContext context, Random random, BlockPos pos) Methods inherited from class net.minecraft.world.gen.decorator.AbstractConditionalPlacementModifier
getPositions
-
Field Details
-
MODIFIER_CODEC
- Mappings:
Namespace Name Mixin selector official aLddc;a:Lcom/mojang/serialization/Codec;intermediary field_35075Lnet/minecraft/class_6658;field_35075:Lcom/mojang/serialization/Codec;named MODIFIER_CODECLnet/minecraft/world/gen/decorator/BlockFilterPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
-
predicate
- Mappings:
Namespace Name Mixin selector official cLddc;c:Lcub;intermediary field_35076Lnet/minecraft/class_6658;field_35076:Lnet/minecraft/class_6646;named predicateLnet/minecraft/world/gen/decorator/BlockFilterPlacementModifier;predicate:Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
-
-
Constructor Details
-
BlockFilterPlacementModifier
- Mappings:
Namespace Name Mixin selector official <init>Lddc;<init>(Lcub;)Vintermediary <init>Lnet/minecraft/class_6658;<init>(Lnet/minecraft/class_6646;)Vnamed <init>Lnet/minecraft/world/gen/decorator/BlockFilterPlacementModifier;<init>(Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLddc;a(Lcub;)Lddc;intermediary method_39618Lnet/minecraft/class_6658;method_39618(Lnet/minecraft/class_6646;)Lnet/minecraft/class_6658;named ofLnet/minecraft/world/gen/decorator/BlockFilterPlacementModifier;of(Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)Lnet/minecraft/world/gen/decorator/BlockFilterPlacementModifier;
-
shouldPlace
- Specified by:
shouldPlacein classAbstractConditionalPlacementModifier- Mappings:
Namespace Name Mixin selector official aLddp;a(Lddo;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/AbstractConditionalPlacementModifier;shouldPlace(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
-
getType
- Specified by:
getTypein classPlacementModifier- Mappings:
Namespace Name Mixin selector official bLddq;b()Lddr;intermediary method_39615Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;named getTypeLnet/minecraft/world/gen/decorator/PlacementModifier;getType()Lnet/minecraft/world/gen/decorator/PlacementModifierType;
-