Class ChanceDecorator
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.AbstractCountDecorator<ChanceDecoratorConfig>
net.minecraft.world.gen.decorator.ChanceDecorator
- Mappings:
Namespace Name official czmintermediary net/minecraft/class_3241named net/minecraft/world/gen/decorator/ChanceDecorator
-
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
ConstructorsConstructorDescriptionChanceDecorator(com.mojang.serialization.Codec<ChanceDecoratorConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetCount(Random random, ChanceDecoratorConfig chanceDecoratorConfig, BlockPos blockPos) Methods inherited from class net.minecraft.world.gen.decorator.AbstractCountDecorator
getPositions
-
Constructor Details
-
ChanceDecorator
- 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
-
getCount
protected int getCount(Random random, ChanceDecoratorConfig chanceDecoratorConfig, BlockPos blockPos) - Specified by:
getCountin classAbstractCountDecorator<ChanceDecoratorConfig>- Mappings:
Namespace Name Mixin selector official aLczm;a(Ljava/util/Random;Lczn;Lgg;)Iintermediary method_33863Lnet/minecraft/class_3241;method_33863(Ljava/util/Random;Lnet/minecraft/class_3297;Lnet/minecraft/class_2338;)Inamed getCountLnet/minecraft/world/gen/decorator/ChanceDecorator;getCount(Ljava/util/Random;Lnet/minecraft/world/gen/decorator/ChanceDecoratorConfig;Lnet/minecraft/util/math/BlockPos;)I
-