Class SurfaceRelativeThresholdDecorator

java.lang.Object
net.minecraft.world.gen.decorator.Decorator<SurfaceRelativeThresholdDecoratorConfig>
net.minecraft.world.gen.decorator.SurfaceRelativeThresholdDecorator

public class SurfaceRelativeThresholdDecorator extends Decorator<SurfaceRelativeThresholdDecoratorConfig>
Mappings:
Namespace Name
official dcp
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> Ldcb;<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

    • getPositions

      public Stream<BlockPos> getPositions(DecoratorContext decoratorContext, Random random, SurfaceRelativeThresholdDecoratorConfig surfaceRelativeThresholdDecoratorConfig, BlockPos blockPos)
      Specified by:
      getPositions in class Decorator<SurfaceRelativeThresholdDecoratorConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldcp;a(Ldbz;Ljava/util/Random;Ldco;Lgh;)Ljava/util/stream/Stream;
      intermediary method_38460 Lnet/minecraft/class_6585;method_38460(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_6584;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      named getPositions Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecorator;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/SurfaceRelativeThresholdDecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;