Class CountMultilayerDecorator
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<CountConfig>
net.minecraft.world.gen.decorator.CountMultilayerDecorator
- Mappings:
Namespace Name official danintermediary net/minecraft/class_5452named 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
ConstructorsConstructorDescriptionCountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanblocksSpawn(BlockState state) private static intfindPos(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;)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
-
getPositions
public Stream<BlockPos> getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos) - Specified by:
getPositionsin classDecorator<CountConfig>- Mappings:
Namespace Name Mixin selector official aLdan;a(Lczv;Ljava/util/Random;Lcuz;Lgg;)Ljava/util/stream/Stream;intermediary method_30474Lnet/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 getPositionsLnet/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 aLdan;a(Lczv;IIII)Iintermediary method_30473Lnet/minecraft/class_5452;method_30473(Lnet/minecraft/class_5444;IIII)Inamed findPosLnet/minecraft/world/gen/decorator/CountMultilayerDecorator;findPos(Lnet/minecraft/world/gen/decorator/DecoratorContext;IIII)I
-
blocksSpawn
- Mappings:
Namespace Name Mixin selector official aLdan;a(Lcks;)Zintermediary method_30472Lnet/minecraft/class_5452;method_30472(Lnet/minecraft/class_2680;)Znamed blocksSpawnLnet/minecraft/world/gen/decorator/CountMultilayerDecorator;blocksSpawn(Lnet/minecraft/block/BlockState;)Z
-