Class WaterDepthThresholdDecorator


public class WaterDepthThresholdDecorator extends ConditionalDecorator<WaterDepthThresholdDecoratorConfig>
Mappings:
Namespace Name
official dde
intermediary net/minecraft/class_5935
named net/minecraft/world/gen/decorator/WaterDepthThresholdDecorator
  • Constructor Details

    • WaterDepthThresholdDecorator

      public WaterDepthThresholdDecorator(com.mojang.serialization.Codec<WaterDepthThresholdDecoratorConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldco;<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, WaterDepthThresholdDecoratorConfig waterDepthThresholdDecoratorConfig, BlockPos blockPos)
      Specified by:
      shouldPlace in class ConditionalDecorator<WaterDepthThresholdDecoratorConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldde;a(Ldck;Ljava/util/Random;Lddd;Lgh;)Z
      intermediary method_38926 Lnet/minecraft/class_5935;method_38926(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_5934;Lnet/minecraft/class_2338;)Z
      named shouldPlace Lnet/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