Class SimpleDecorator<DC extends DecoratorConfig>

java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.SimpleDecorator<DC>
Direct Known Subclasses:
ChanceDecorator, CountDecorator, CountExtraDecorator, CountNoiseBiasedDecorator, DepthAverageDecorator, EmeraldOreDecorator, EndIslandDecorator, FireDecorator, GlowstoneDecorator, IcebergDecorator, NopeDecorator, RangeBiasedDecorator, RangeDecorator, RangeVeryBiasedDecorator, SquareDecorator

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

    • SimpleDecorator

      public SimpleDecorator​(com.mojang.serialization.Codec<DC> 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 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 Lcvp;a(Lcvi;Ljava/util/Random;Lcrf;Lfx;)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;
    • getPositions

      protected abstract Stream<BlockPos> getPositions​(Random random, DC config, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwb;a(Ljava/util/Random;Lcrf;Lfx;)Ljava/util/stream/Stream;
      intermediary method_14452 Lnet/minecraft/class_3667;method_14452(Ljava/util/Random;Lnet/minecraft/class_2998;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      named getPositions Lnet/minecraft/world/gen/decorator/SimpleDecorator;getPositions(Ljava/util/Random;Lnet/minecraft/world/gen/decorator/DecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;