Class WaterDepthThresholdDecoratorConfig

java.lang.Object
net.minecraft.class_6797
net.minecraft.world.gen.decorator.ConditionalDecorator
net.minecraft.world.gen.decorator.WaterDepthThresholdDecoratorConfig

public class WaterDepthThresholdDecoratorConfig extends ConditionalDecorator
Mappings:
Namespace Name
official ddv
intermediary net/minecraft/class_5934
named net/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<WaterDepthThresholdDecoratorConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a:Lcom/mojang/serialization/Codec;
      intermediary field_29323 Lnet/minecraft/class_5934;field_29323:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig;CODEC:Lcom/mojang/serialization/Codec;
    • maxWaterDepth

      private final int maxWaterDepth
      Mappings:
      Namespace Name Mixin selector
      official c Lddv;c:I
      intermediary field_29324 Lnet/minecraft/class_5934;field_29324:I
      named maxWaterDepth Lnet/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig;maxWaterDepth:I
  • Constructor Details

    • WaterDepthThresholdDecoratorConfig

      private WaterDepthThresholdDecoratorConfig(int maxWaterDepth)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddv;<init>(I)V
      intermediary <init> Lnet/minecraft/class_5934;<init>(I)V
      named <init> Lnet/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig;<init>(I)V
  • Method Details

    • method_39662

      public static WaterDepthThresholdDecoratorConfig method_39662(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(I)Lddv;
      intermediary method_39662 Lnet/minecraft/class_5934;method_39662(I)Lnet/minecraft/class_5934;
      named method_39662 Lnet/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig;method_39662(I)Lnet/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig;
    • shouldPlace

      protected boolean shouldPlace(DecoratorContext context, Random random, BlockPos blockPos)
      Specified by:
      shouldPlace in class ConditionalDecorator
      Mappings:
      Namespace Name Mixin selector
      official a Lddo;a(Lddn;Ljava/util/Random;Lgh;)Z
      intermediary method_38918 Lnet/minecraft/class_6661;method_38918(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
      named shouldPlace Lnet/minecraft/world/gen/decorator/ConditionalDecorator;shouldPlace(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
    • method_39615

      public class_6798<?> method_39615()
      Specified by:
      method_39615 in class class_6797
      Mappings:
      Namespace Name Mixin selector
      official b Lddp;b()Lddq;
      intermediary method_39615 Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
      named method_39615 Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;