Class AbstractRangeDecorator<DC extends DecoratorConfig>

java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.AbstractRangeDecorator<DC>
Direct Known Subclasses:
EndGatewayDecorator, RangeDecorator, Spread32AboveDecorator

public abstract class AbstractRangeDecorator<DC extends DecoratorConfig> extends Decorator<DC>
Mappings:
Namespace Name
official dak
intermediary net/minecraft/class_5858
named net/minecraft/world/gen/decorator/AbstractRangeDecorator
  • Constructor Details

    • AbstractRangeDecorator

      public AbstractRangeDecorator(com.mojang.serialization.Codec<DC> 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

    • getY

      protected abstract int getY(DecoratorContext context, Random random, DC config, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lczv;Ljava/util/Random;Lcvb;I)I
      intermediary method_33861 Lnet/minecraft/class_5858;method_33861(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2998;I)I
      named getY Lnet/minecraft/world/gen/decorator/AbstractRangeDecorator;getY(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/DecoratorConfig;I)I
    • getPositions

      public final Stream<BlockPos> getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
      Specified by:
      getPositions in class Decorator<DC extends DecoratorConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lczx;a(Lczv;Ljava/util/Random;Lcvb;Lgg;)Ljava/util/stream/Stream;
      intermediary method_14452 Lnet/minecraft/class_3284;method_14452(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2998;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      named getPositions Lnet/minecraft/world/gen/decorator/Decorator;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/DecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;