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:
ChanceDecorator,CountDecorator,CountExtraDecorator,CountNoiseBiasedDecorator,CountNoiseDecorator,GlowstoneDecorator,LavaLakeDecorator
public abstract class AbstractCountDecorator<DC extends DecoratorConfig> extends Decorator<DC>
- Mappings:
Namespace Name official czfintermediary net/minecraft/class_5857named net/minecraft/world/gen/decorator/AbstractCountDecorator
-
Field Summary
Fields inherited from class net.minecraft.world.gen.decorator.Decorator
CARVING_MASK, CAVE_SURFACE, CHANCE, COUNT, COUNT_EXTRA, COUNT_MULTILAYER, COUNT_NOISE, COUNT_NOISE_BIASED, DARK_OAK_TREE, DECORATED, DEPTH_AVERAGE, END_GATEWAY, GLOWSTONE, HEIGHTMAP, HEIGHTMAP_SPREAD_DOUBLE, ICEBERG, LAVA_LAKE, NOPE, RANGE, RANGE_BIASED_TO_BOTTOM, RANGE_VERY_BIASED_TO_BOTTOM, SPREAD_32_ABOVE, SQUARE, WATER_DEPTH_THRESHOLD -
Constructor Summary
Constructors Constructor Description AbstractCountDecorator(com.mojang.serialization.Codec<DC> configCodec) -
Method Summary
-
Constructor Details
-
AbstractCountDecorator
- Mappings:
Namespace Name Mixin selector official <init>Lcyt;<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 aLczf;a(Ljava/util/Random;Lctv;Lgb;)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 aLcyt;a(Lcyp;Ljava/util/Random;Lctv;Lgb;)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;
-