Class SquarePlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.SquarePlacementModifier
- Mappings:
Namespace Name named net/minecraft/world/gen/placementmodifier/SquarePlacementModifier
intermediary net/minecraft/class_5450
official ein
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final SquarePlacementModifier
static final com.mojang.serialization.MapCodec
<SquarePlacementModifier> Fields inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.getType()
static SquarePlacementModifier
of()
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCE
Lnet/minecraft/world/gen/placementmodifier/SquarePlacementModifier;INSTANCE:Lnet/minecraft/world/gen/placementmodifier/SquarePlacementModifier;
intermediary field_35728
Lnet/minecraft/class_5450;field_35728:Lnet/minecraft/class_5450;
official c
Lein;c:Lein;
-
MODIFIER_CODEC
- Mappings:
Namespace Name Mixin selector named MODIFIER_CODEC
Lnet/minecraft/world/gen/placementmodifier/SquarePlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_35727
Lnet/minecraft/class_5450;field_35727:Lcom/mojang/serialization/MapCodec;
official a
Lein;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
SquarePlacementModifier
public SquarePlacementModifier()
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/world/gen/placementmodifier/SquarePlacementModifier;of()Lnet/minecraft/world/gen/placementmodifier/SquarePlacementModifier;
intermediary method_39639
Lnet/minecraft/class_5450;method_39639()Lnet/minecraft/class_5450;
official a
Lein;a()Lein;
-
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_
Leit;a_(Leir;Layv;Ljd;)Ljava/util/stream/Stream;
-
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
Leit;b()Leiu;
-