Class WaterDepthThresholdDecorator
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.ConditionalDecorator<WaterDepthThresholdDecoratorConfig>
net.minecraft.world.gen.decorator.WaterDepthThresholdDecorator
public class WaterDepthThresholdDecorator
extends ConditionalDecorator<WaterDepthThresholdDecoratorConfig>
- Mappings:
Namespace Name official ddrintermediary net/minecraft/class_5935named net/minecraft/world/gen/decorator/WaterDepthThresholdDecorator
-
Field Summary
Fields inherited from class net.minecraft.world.gen.decorator.Decorator
BLOCK_FILTER, CARVING_MASK, CAVE_SURFACE, CHANCE, COUNT, COUNT_EXTRA, COUNT_MULTILAYER, COUNT_NOISE, COUNT_NOISE_BIASED, DARK_OAK_TREE, DECORATED, END_GATEWAY, ENVIRONMENT_SCAN, HEIGHTMAP, ICEBERG, LAVA_LAKE, NOPE, RANGE, SQUARE, SURFACE_RELATIVE_THRESHOLD, WATER_DEPTH_THRESHOLD -
Constructor Summary
ConstructorsConstructorDescriptionWaterDepthThresholdDecorator(com.mojang.serialization.Codec<WaterDepthThresholdDecoratorConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanshouldPlace(DecoratorContext decoratorContext, Random random, WaterDepthThresholdDecoratorConfig waterDepthThresholdDecoratorConfig, BlockPos blockPos) Methods inherited from class net.minecraft.world.gen.decorator.ConditionalDecorator
getPositions
-
Constructor Details
-
WaterDepthThresholdDecorator
public WaterDepthThresholdDecorator(com.mojang.serialization.Codec<WaterDepthThresholdDecoratorConfig> configCodec) - Mappings:
Namespace Name Mixin selector official <init>Lddb;<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
-
shouldPlace
protected boolean shouldPlace(DecoratorContext decoratorContext, Random random, WaterDepthThresholdDecoratorConfig waterDepthThresholdDecoratorConfig, BlockPos blockPos) - Specified by:
shouldPlacein classConditionalDecorator<WaterDepthThresholdDecoratorConfig>- Mappings:
Namespace Name Mixin selector official aLddr;a(Ldcx;Ljava/util/Random;Lddq;Lgh;)Zintermediary method_38926Lnet/minecraft/class_5935;method_38926(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_5934;Lnet/minecraft/class_2338;)Znamed shouldPlaceLnet/minecraft/world/gen/decorator/WaterDepthThresholdDecorator;shouldPlace(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Z
-