Class AbstractCountPlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.AbstractCountPlacementModifier
- Direct Known Subclasses:
CountPlacementModifier
,NoiseBasedCountPlacementModifier
,NoiseThresholdCountPlacementModifier
- Mappings:
Namespace Name official dek
intermediary net/minecraft/class_5857
named net/minecraft/world/gen/placementmodifier/AbstractCountPlacementModifier
-
Field Summary
Fields inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.Methods inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
getType
-
Constructor Details
-
AbstractCountPlacementModifier
public AbstractCountPlacementModifier()
-
-
Method Details
-
getCount
- Mappings:
Namespace Name Mixin selector official a
Ldek;a(Ljava/util/Random;Lgj;)I
intermediary method_14452
Lnet/minecraft/class_5857;method_14452(Ljava/util/Random;Lnet/minecraft/class_2338;)I
named getCount
Lnet/minecraft/world/gen/placementmodifier/AbstractCountPlacementModifier;getCount(Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)I
-
getPositions
Applies this placement modifier to the given position.- Specified by:
getPositions
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector official a_
Ldeg;a_(Ldee;Ljava/util/Random;Lgj;)Ljava/util/stream/Stream;
intermediary method_14452
Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
named getPositions
Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getPositions(Lnet/minecraft/world/gen/feature/FeaturePlacementContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-