Class ChanceDecorator
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.SimpleDecorator<ChanceDecoratorConfig>
net.minecraft.world.gen.decorator.ChanceDecorator
public class ChanceDecorator extends SimpleDecorator<ChanceDecoratorConfig>
- Mappings:
Namespace Name official cuz
intermediary net/minecraft/class_3241
named net/minecraft/world/gen/decorator/ChanceDecorator
-
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, EMERALD_ORE, END_GATEWAY, END_ISLAND, FIRE, GLOWSTONE, HEIGHTMAP, HEIGHTMAP_SPREAD_DOUBLE, HEIGHTMAP_WORLD_SURFACE, ICEBERG, LAVA_LAKE, MAGMA, NOPE, RANGE, RANGE_BIASED, RANGE_VERY_BIASED, SPREAD_32_ABOVE, SQUARE, TOP_SOLID_HEIGHTMAP, WATER_LAKE
-
Constructor Summary
Constructors Constructor Description ChanceDecorator(com.mojang.serialization.Codec<ChanceDecoratorConfig> configCodec)
-
Method Summary
Modifier and Type Method Description Stream<BlockPos>
getPositions(Random random, ChanceDecoratorConfig chanceDecoratorConfig, BlockPos blockPos)
Methods inherited from class net.minecraft.world.gen.decorator.SimpleDecorator
getPositions
-
Constructor Details
-
ChanceDecorator
- Mappings:
Namespace Name Mixin selector official <init>
Lcvp;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_3284;<init>(Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/world/gen/decorator/Decorator;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getPositions
public Stream<BlockPos> getPositions(Random random, ChanceDecoratorConfig chanceDecoratorConfig, BlockPos blockPos)- Specified by:
getPositions
in classSimpleDecorator<ChanceDecoratorConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcuz;a(Ljava/util/Random;Lcva;Lfx;)Ljava/util/stream/Stream;
intermediary method_14347
Lnet/minecraft/class_3241;method_14347(Ljava/util/Random;Lnet/minecraft/class_3297;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
named getPositions
Lnet/minecraft/world/gen/decorator/ChanceDecorator;getPositions(Ljava/util/Random;Lnet/minecraft/world/gen/decorator/ChanceDecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-