Class WaterDepthThresholdDecorator

java.lang.Object
net.minecraft.world.gen.decorator.Decorator<WaterDepthThresholdDecoratorConfig>
net.minecraft.world.gen.decorator.WaterDepthThresholdDecorator

public class WaterDepthThresholdDecorator extends Decorator<WaterDepthThresholdDecoratorConfig>
Mappings:
Namespace Name
official dam
intermediary net/minecraft/class_5935
named net/minecraft/world/gen/decorator/WaterDepthThresholdDecorator
  • Constructor Details

    • WaterDepthThresholdDecorator

      public WaterDepthThresholdDecorator(com.mojang.serialization.Codec<WaterDepthThresholdDecoratorConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lczx;<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, WaterDepthThresholdDecoratorConfig waterDepthThresholdDecoratorConfig, BlockPos blockPos)
      Specified by:
      getPositions in class Decorator<WaterDepthThresholdDecoratorConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldam;a(Lczv;Ljava/util/Random;Ldal;Lgg;)Ljava/util/stream/Stream;
      intermediary method_34388 Lnet/minecraft/class_5935;method_34388(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_5934;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      named getPositions Lnet/minecraft/world/gen/decorator/WaterDepthThresholdDecorator;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;