Class SurfaceRelativeThresholdDecorator
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.ConditionalDecorator<SurfaceRelativeThresholdDecoratorConfig>
net.minecraft.world.gen.decorator.SurfaceRelativeThresholdDecorator
public class SurfaceRelativeThresholdDecorator
extends ConditionalDecorator<SurfaceRelativeThresholdDecoratorConfig>
- Mappings:
Namespace Name official ddointermediary net/minecraft/class_6585named net/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecorator
-
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
ConstructorsConstructorDescriptionSurfaceRelativeThresholdDecorator(com.mojang.serialization.Codec<SurfaceRelativeThresholdDecoratorConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanshouldPlace(DecoratorContext decoratorContext, Random random, SurfaceRelativeThresholdDecoratorConfig surfaceRelativeThresholdDecoratorConfig, BlockPos blockPos) Methods inherited from class net.minecraft.world.gen.decorator.ConditionalDecorator
getPositions
-
Constructor Details
-
SurfaceRelativeThresholdDecorator
public SurfaceRelativeThresholdDecorator(com.mojang.serialization.Codec<SurfaceRelativeThresholdDecoratorConfig> 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, SurfaceRelativeThresholdDecoratorConfig surfaceRelativeThresholdDecoratorConfig, BlockPos blockPos) - Specified by:
shouldPlacein classConditionalDecorator<SurfaceRelativeThresholdDecoratorConfig>- Mappings:
Namespace Name Mixin selector official aLddo;a(Ldcx;Ljava/util/Random;Lddn;Lgh;)Zintermediary method_38925Lnet/minecraft/class_6585;method_38925(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_6584;Lnet/minecraft/class_2338;)Znamed shouldPlaceLnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecorator;shouldPlace(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Z
-