Class AbstractCountDecorator<DC extends DecoratorConfig>
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.AbstractCountDecorator<DC>
- Direct Known Subclasses:
CountDecorator,CountExtraDecorator,CountNoiseBiasedDecorator,CountNoiseDecorator
- Mappings:
Namespace Name official dcyintermediary net/minecraft/class_5857named net/minecraft/world/gen/decorator/AbstractCountDecorator
-
Field Summary
Fields inherited from class net.minecraft.world.gen.decorator.Decorator
BLOCK_FILTER, BLOCK_SURVIVES_FILTER, CARVING_MASK, CAVE_SURFACE, CHANCE, COUNT, COUNT_EXTRA, COUNT_MULTILAYER, COUNT_NOISE, COUNT_NOISE_BIASED, DARK_OAK_TREE, DECORATED, END_GATEWAY, ENVIRONMENT_SCAN, HEIGHTMAP, ICEBERG, LAVA_LAKE, NOPE, RANGE, SQUARE, SURFACE_RELATIVE_THRESHOLD, WATER_DEPTH_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractCountDecorator
- Mappings:
Namespace Name Mixin selector official <init>Ldco;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_3284;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/decorator/Decorator;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getCount
- Mappings:
Namespace Name Mixin selector official aLdcy;a(Ljava/util/Random;Lcxi;Lgh;)Iintermediary method_14452Lnet/minecraft/class_5857;method_14452(Ljava/util/Random;Lnet/minecraft/class_2998;Lnet/minecraft/class_2338;)Inamed getCountLnet/minecraft/world/gen/decorator/AbstractCountDecorator;getCount(Ljava/util/Random;Lnet/minecraft/world/gen/decorator/DecoratorConfig;Lnet/minecraft/util/math/BlockPos;)I
-
getPositions
public Stream<BlockPos> getPositions(DecoratorContext context, Random random, DC config, BlockPos pos) - Specified by:
getPositionsin classDecorator<DC extends DecoratorConfig>- Mappings:
Namespace Name Mixin selector official a_Ldco;a_(Ldck;Ljava/util/Random;Lcxi;Lgh;)Ljava/util/stream/Stream;intermediary method_14452Lnet/minecraft/class_3284;method_14452(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2998;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;named getPositionsLnet/minecraft/world/gen/decorator/Decorator;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/DecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-