Class CountMultilayerDecorator
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<CountConfig>
net.minecraft.world.gen.decorator.CountMultilayerDecorator
public class CountMultilayerDecorator extends Decorator<CountConfig>
- Mappings:
Namespace Name official cxkintermediary net/minecraft/class_5452named net/minecraft/world/gen/decorator/CountMultilayerDecorator
-
Field Summary
Fields inherited from class net.minecraft.world.gen.decorator.Decorator
CARVING_MASK, CHANCE, COUNT, COUNT_EXTRA, COUNT_MULTILAYER, COUNT_NOISE, COUNT_NOISE_BIASED, DARK_OAK_TREE, DECORATED, DEPTH_AVERAGE, END_GATEWAY, GLOWSTONE, HEIGHTMAP, HEIGHTMAP_SPREAD_DOUBLE, HEIGHTMAP_WORLD_SURFACE, ICEBERG, LAVA_LAKE, NOPE, RANGE, RANGE_BIASED_TO_BOTTOM, RANGE_VERY_BIASED_TO_BOTTOM, SPREAD_32_ABOVE, SQUARE, TOP_SOLID_HEIGHTMAP -
Constructor Summary
Constructors Constructor Description CountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> configCodec) -
Method Summary
Modifier and Type Method Description private static booleanblocksSpawn(BlockState state)private static intfindPos(DecoratorContext context, int x, int y, int z, int targetY)Stream<BlockPos>getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
-
Constructor Details
-
CountMultilayerDecorator
- Mappings:
Namespace Name Mixin selector official <init>Lcws;<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 aLcxk;a(Lcwn;Ljava/util/Random;Lcsg;Lfx;)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 aLcxk;a(Lcwn;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 aLcxk;a(Lcim;)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
-