Class DepthAverageDecorator


public class DepthAverageDecorator
extends SimpleDecorator<DepthAverageDecoratorConfig>
Mappings:
Namespace Name
official cvk
intermediary net/minecraft/class_3252
named net/minecraft/world/gen/decorator/DepthAverageDecorator
  • Constructor Details

    • DepthAverageDecorator

      public DepthAverageDecorator​(com.mojang.serialization.Codec<DepthAverageDecoratorConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcvp;<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​(Random random, DepthAverageDecoratorConfig depthAverageDecoratorConfig, BlockPos blockPos)
      Specified by:
      getPositions in class SimpleDecorator<DepthAverageDecoratorConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcvk;a(Ljava/util/Random;Lcvj;Lfx;)Ljava/util/stream/Stream;
      intermediary method_15907 Lnet/minecraft/class_3252;method_15907(Ljava/util/Random;Lnet/minecraft/class_3277;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      named getPositions Lnet/minecraft/world/gen/decorator/DepthAverageDecorator;getPositions(Ljava/util/Random;Lnet/minecraft/world/gen/decorator/DepthAverageDecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;