Class CountMultilayerDecorator
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<CountConfig>
net.minecraft.world.gen.decorator.CountMultilayerDecorator
- Mappings:
Namespace Name official dan
intermediary net/minecraft/class_5452
named net/minecraft/world/gen/decorator/CountMultilayerDecorator
-
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, END_GATEWAY, HEIGHTMAP, HEIGHTMAP_SPREAD_DOUBLE, ICEBERG, LAVA_LAKE, NOPE, RANGE, SPREAD_32_ABOVE, SQUARE, WATER_DEPTH_THRESHOLD
-
Constructor Summary
ConstructorDescriptionCountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> configCodec)
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
blocksSpawn(BlockState state)
private static int
findPos(DecoratorContext context, int x, int y, int z, int targetY)
getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
-
Constructor Details
-
CountMultilayerDecorator
- Mappings:
Namespace Name Mixin selector official <init>
Lczx;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_3284;<init>(Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/world/gen/decorator/Decorator;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getPositions
public Stream<BlockPos> getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)- Specified by:
getPositions
in classDecorator<CountConfig>
- Mappings:
Namespace Name Mixin selector official a
Ldan;a(Lczv;Ljava/util/Random;Lcuz;Lgg;)Ljava/util/stream/Stream;
intermediary method_30474
Lnet/minecraft/class_5452;method_30474(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2984;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
named getPositions
Lnet/minecraft/world/gen/decorator/CountMultilayerDecorator;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/CountConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-
findPos
- Mappings:
Namespace Name Mixin selector official a
Ldan;a(Lczv;IIII)I
intermediary method_30473
Lnet/minecraft/class_5452;method_30473(Lnet/minecraft/class_5444;IIII)I
named findPos
Lnet/minecraft/world/gen/decorator/CountMultilayerDecorator;findPos(Lnet/minecraft/world/gen/decorator/DecoratorContext;IIII)I
-
blocksSpawn
- Mappings:
Namespace Name Mixin selector official a
Ldan;a(Lcks;)Z
intermediary method_30472
Lnet/minecraft/class_5452;method_30472(Lnet/minecraft/class_2680;)Z
named blocksSpawn
Lnet/minecraft/world/gen/decorator/CountMultilayerDecorator;blocksSpawn(Lnet/minecraft/block/BlockState;)Z
-