Class SurfaceRelativeThresholdDecorator


public class SurfaceRelativeThresholdDecorator extends ConditionalDecorator<SurfaceRelativeThresholdDecoratorConfig>
Mappings:
Namespace Name
official ddp
intermediary net/minecraft/class_6585
named net/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecorator
  • Constructor Details

    • SurfaceRelativeThresholdDecorator

      public SurfaceRelativeThresholdDecorator(com.mojang.serialization.Codec<SurfaceRelativeThresholdDecoratorConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddb;<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

    • shouldPlace

      protected boolean shouldPlace(DecoratorContext decoratorContext, Random random, SurfaceRelativeThresholdDecoratorConfig surfaceRelativeThresholdDecoratorConfig, BlockPos blockPos)
      Specified by:
      shouldPlace in class ConditionalDecorator<SurfaceRelativeThresholdDecoratorConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lddp;a(Ldcx;Ljava/util/Random;Lddo;Lgh;)Z
      intermediary method_38925 Lnet/minecraft/class_6585;method_38925(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_6584;Lnet/minecraft/class_2338;)Z
      named shouldPlace Lnet/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