Class SurfaceRelativeThresholdDecoratorConfig

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

public class SurfaceRelativeThresholdDecoratorConfig extends ConditionalDecorator
Mappings:
Namespace Name
official ddu
intermediary net/minecraft/class_6584
named net/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SurfaceRelativeThresholdDecoratorConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lddu;a:Lcom/mojang/serialization/Codec;
      intermediary field_34721 Lnet/minecraft/class_6584;field_34721:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;CODEC:Lcom/mojang/serialization/Codec;
    • heightmap

      private final Heightmap.Type heightmap
      Mappings:
      Namespace Name Mixin selector
      official c Lddu;c:Lcsu$a;
      intermediary field_34722 Lnet/minecraft/class_6584;field_34722:Lnet/minecraft/class_2902$class_2903;
      named heightmap Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;heightmap:Lnet/minecraft/world/Heightmap$Type;
    • min

      private final int min
      Mappings:
      Namespace Name Mixin selector
      official d Lddu;d:I
      intermediary field_34723 Lnet/minecraft/class_6584;field_34723:I
      named min Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;min:I
    • max

      private final int max
      Mappings:
      Namespace Name Mixin selector
      official e Lddu;e:I
      intermediary field_34724 Lnet/minecraft/class_6584;field_34724:I
      named max Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;max:I
  • Constructor Details

    • SurfaceRelativeThresholdDecoratorConfig

      private SurfaceRelativeThresholdDecoratorConfig(Heightmap.Type heightmap, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddu;<init>(Lcsu$a;II)V
      intermediary <init> Lnet/minecraft/class_6584;<init>(Lnet/minecraft/class_2902$class_2903;II)V
      named <init> Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;<init>(Lnet/minecraft/world/Heightmap$Type;II)V
  • Method Details

    • method_39661

      public static SurfaceRelativeThresholdDecoratorConfig method_39661(Heightmap.Type type, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lddu;a(Lcsu$a;II)Lddu;
      intermediary method_39661 Lnet/minecraft/class_6584;method_39661(Lnet/minecraft/class_2902$class_2903;II)Lnet/minecraft/class_6584;
      named method_39661 Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;method_39661(Lnet/minecraft/world/Heightmap$Type;II)Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;
    • 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;