类 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 cznintermediary net/minecraft/class_5452named net/minecraft/world/gen/decorator/CountMultilayerDecorator
-
-
字段概要
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 CountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> configCodec)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
-
-
-
构造器详细资料
-
CountMultilayerDecorator
public CountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> configCodec)
- Mappings:
Namespace Name Mixin selector official <init>Lcyv;<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
-
-
方法详细资料
-
getPositions
public Stream<BlockPos> getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
- 指定者:
getPositions在类中Decorator<CountConfig>- Mappings:
Namespace Name Mixin selector official aLczn;a(Lcyr;Ljava/util/Random;Lctv;Lgb;)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
private static int findPos(DecoratorContext context, int x, int y, int z, int targetY)
- Mappings:
Namespace Name Mixin selector official aLczn;a(Lcyr;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
private static boolean blocksSpawn(BlockState state)
- Mappings:
Namespace Name Mixin selector official aLczn;a(Lcjr;)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
-
-