Class CountMultilayerDecorator

java.lang.Object
net.minecraft.world.gen.decorator.Decorator<CountConfig>
net.minecraft.world.gen.decorator.CountMultilayerDecorator

public class CountMultilayerDecorator extends Decorator<CountConfig>
Mappings:
Namespace Name
official dan
intermediary net/minecraft/class_5452
named net/minecraft/world/gen/decorator/CountMultilayerDecorator
  • Constructor Details

    • CountMultilayerDecorator

      public CountMultilayerDecorator(com.mojang.serialization.Codec<CountConfig> 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, CountConfig countConfig, BlockPos blockPos)
      Specified by:
      getPositions in class Decorator<CountConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldan;a(Lczv;Ljava/util/Random;Lcuz;Lgg;)Ljava/util/stream/Stream;
      intermediary method_30474 Lnet/minecraft/class_5452;method_30474(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2984;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      named getPositions Lnet/minecraft/world/gen/decorator/CountMultilayerDecorator;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/CountConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
    • findPos

      private static int findPos(DecoratorContext context, int x, int y, int z, int targetY)
      Mappings:
      Namespace Name Mixin selector
      official a Ldan;a(Lczv;IIII)I
      intermediary method_30473 Lnet/minecraft/class_5452;method_30473(Lnet/minecraft/class_5444;IIII)I
      named findPos Lnet/minecraft/world/gen/decorator/CountMultilayerDecorator;findPos(Lnet/minecraft/world/gen/decorator/DecoratorContext;IIII)I
    • blocksSpawn

      private static boolean blocksSpawn(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Ldan;a(Lcks;)Z
      intermediary method_30472 Lnet/minecraft/class_5452;method_30472(Lnet/minecraft/class_2680;)Z
      named blocksSpawn Lnet/minecraft/world/gen/decorator/CountMultilayerDecorator;blocksSpawn(Lnet/minecraft/block/BlockState;)Z