Class FixedPlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.FixedPlacementModifier
- Mappings:
Namespace Name named net/minecraft/world/gen/placementmodifier/FixedPlacementModifier
intermediary net/minecraft/class_9830
official enh
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<FixedPlacementModifier> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
chunkSectionMatchesPos
(int chunkSectionX, int chunkSectionZ, BlockPos pos) getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.getType()
static FixedPlacementModifier
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/placementmodifier/FixedPlacementModifier;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_52290
Lnet/minecraft/class_9830;field_52290:Lcom/mojang/serialization/MapCodec;
official a
Lenh;a:Lcom/mojang/serialization/MapCodec;
-
positions
- Mappings:
Namespace Name Mixin selector named positions
Lnet/minecraft/world/gen/placementmodifier/FixedPlacementModifier;positions:Ljava/util/List;
intermediary field_52291
Lnet/minecraft/class_9830;field_52291:Ljava/util/List;
official c
Lenh;c:Ljava/util/List;
-
-
Constructor Details
-
FixedPlacementModifier
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/placementmodifier/FixedPlacementModifier;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_9830;<init>(Ljava/util/List;)V
official <init>
Lenh;<init>(Ljava/util/List;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/world/gen/placementmodifier/FixedPlacementModifier;of([Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/gen/placementmodifier/FixedPlacementModifier;
intermediary method_61122
Lnet/minecraft/class_9830;method_61122([Lnet/minecraft/class_2338;)Lnet/minecraft/class_9830;
official a
Lenh;a([Ljh;)Lenh;
-
getPositions
Applies this placement modifier to the given position.- Specified by:
getPositions
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector named getPositions
Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getPositions(Lnet/minecraft/world/gen/feature/FeaturePlacementContext;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
intermediary method_14452
Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
official a_
Lenq;a_(Leno;Lbam;Ljh;)Ljava/util/stream/Stream;
-
chunkSectionMatchesPos
- Mappings:
Namespace Name Mixin selector named chunkSectionMatchesPos
Lnet/minecraft/world/gen/placementmodifier/FixedPlacementModifier;chunkSectionMatchesPos(IILnet/minecraft/util/math/BlockPos;)Z
intermediary method_61119
Lnet/minecraft/class_9830;method_61119(IILnet/minecraft/class_2338;)Z
official a
Lenh;a(IILjh;)Z
-
getType
- Specified by:
getType
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getType()Lnet/minecraft/world/gen/placementmodifier/PlacementModifierType;
intermediary method_39615
Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
official b
Lenq;b()Lenr;
-