Class SurfaceThresholdFilterPlacementModifier


public class SurfaceThresholdFilterPlacementModifier extends AbstractConditionalPlacementModifier
Mappings:
Namespace Name
official dee
intermediary net/minecraft/class_6584
named net/minecraft/world/gen/decorator/SurfaceThresholdFilterPlacementModifier
  • Field Details

    • MODIFIER_CODEC

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

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

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

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

    • SurfaceThresholdFilterPlacementModifier

      private SurfaceThresholdFilterPlacementModifier(Heightmap.Type heightmap, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldee;<init>(Lctc$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/SurfaceThresholdFilterPlacementModifier;<init>(Lnet/minecraft/world/Heightmap$Type;II)V
  • Method Details

    • of

      public static SurfaceThresholdFilterPlacementModifier of(Heightmap.Type heightmap, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official a Ldee;a(Lctc$a;II)Ldee;
      intermediary method_39661 Lnet/minecraft/class_6584;method_39661(Lnet/minecraft/class_2902$class_2903;II)Lnet/minecraft/class_6584;
      named of Lnet/minecraft/world/gen/decorator/SurfaceThresholdFilterPlacementModifier;of(Lnet/minecraft/world/Heightmap$Type;II)Lnet/minecraft/world/gen/decorator/SurfaceThresholdFilterPlacementModifier;
    • shouldPlace

      protected boolean shouldPlace(DecoratorContext context, Random random, BlockPos pos)
      Specified by:
      shouldPlace in class AbstractConditionalPlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official a Lddy;a(Lddx;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/AbstractConditionalPlacementModifier;shouldPlace(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
    • getType

      public PlacementModifierType<?> getType()
      Specified by:
      getType in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official b Lddz;b()Ldea;
      intermediary method_39615 Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
      named getType Lnet/minecraft/world/gen/decorator/PlacementModifier;getType()Lnet/minecraft/world/gen/decorator/PlacementModifierType;