Class AbstractCountPlacementModifier
java.lang.Object
net.minecraft.world.gen.decorator.PlacementModifier
net.minecraft.world.gen.decorator.AbstractCountPlacementModifier
- Direct Known Subclasses:
CountPlacementModifier,NoiseBasedCountPlacementModifier,NoiseThresholdCountPlacementModifier
- Mappings:
Namespace Name official dedintermediary net/minecraft/class_5857named net/minecraft/world/gen/decorator/AbstractCountPlacementModifier
-
Field Summary
Fields inherited from class net.minecraft.world.gen.decorator.PlacementModifier
CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract intgetPositions(DecoratorContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.Methods inherited from class net.minecraft.world.gen.decorator.PlacementModifier
getType
-
Constructor Details
-
AbstractCountPlacementModifier
public AbstractCountPlacementModifier()
-
-
Method Details
-
getCount
- Mappings:
Namespace Name Mixin selector official aLded;a(Ljava/util/Random;Lgh;)Iintermediary method_14452Lnet/minecraft/class_5857;method_14452(Ljava/util/Random;Lnet/minecraft/class_2338;)Inamed getCountLnet/minecraft/world/gen/decorator/AbstractCountPlacementModifier;getCount(Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)I
-
getPositions
Applies this placement modifier to the given position.- Specified by:
getPositionsin classPlacementModifier- Mappings:
Namespace Name Mixin selector official a_Lddz;a_(Lddx;Ljava/util/Random;Lgh;)Ljava/util/stream/Stream;intermediary method_14452Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;named getPositionsLnet/minecraft/world/gen/decorator/PlacementModifier;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-