类 AbstractCountDecorator<DC extends DecoratorConfig>
- java.lang.Object
-
- net.minecraft.world.gen.decorator.Decorator<DC>
-
- net.minecraft.world.gen.decorator.AbstractCountDecorator<DC>
-
- 直接已知子类:
ChanceDecorator,CountDecorator,CountExtraDecorator,CountNoiseBiasedDecorator,CountNoiseDecorator,GlowstoneDecorator,LavaLakeDecorator
public abstract class AbstractCountDecorator<DC extends DecoratorConfig> extends Decorator<DC>
- Mappings:
Namespace Name official czhintermediary net/minecraft/class_5857named net/minecraft/world/gen/decorator/AbstractCountDecorator
-
-
字段概要
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 AbstractCountDecorator(com.mojang.serialization.Codec<DC> configCodec)
-
-
-
构造器详细资料
-
AbstractCountDecorator
public AbstractCountDecorator(com.mojang.serialization.Codec<DC> 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
-
-
方法详细资料
-
getCount
protected abstract int getCount(Random random, DC config, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLczh;a(Ljava/util/Random;Lctx;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)
- 指定者:
getPositions在类中Decorator<DC extends DecoratorConfig>- Mappings:
Namespace Name Mixin selector official aLcyv;a(Lcyr;Ljava/util/Random;Lctx;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;
-
-