Class CountMultilayerPlacementModifier

java.lang.Object
net.minecraft.world.gen.decorator.PlacementModifier
net.minecraft.world.gen.decorator.CountMultilayerPlacementModifier

@Deprecated public class CountMultilayerPlacementModifier extends PlacementModifier
Deprecated.
Mappings:
Namespace Name
official ddo
intermediary net/minecraft/class_5452
named net/minecraft/world/gen/decorator/CountMultilayerPlacementModifier
  • Field Details

    • MODIFIER_CODEC

      public static final com.mojang.serialization.Codec<CountMultilayerPlacementModifier> MODIFIER_CODEC
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lddo;a:Lcom/mojang/serialization/Codec;
      intermediary field_35716 Lnet/minecraft/class_5452;field_35716:Lcom/mojang/serialization/Codec;
      named MODIFIER_CODEC Lnet/minecraft/world/gen/decorator/CountMultilayerPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
    • count

      private final IntProvider count
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official c Lddo;c:Lauw;
      intermediary field_35717 Lnet/minecraft/class_5452;field_35717:Lnet/minecraft/class_6017;
      named count Lnet/minecraft/world/gen/decorator/CountMultilayerPlacementModifier;count:Lnet/minecraft/util/math/intprovider/IntProvider;
  • Constructor Details

    • CountMultilayerPlacementModifier

      private CountMultilayerPlacementModifier(IntProvider count)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddo;<init>(Lauw;)V
      intermediary <init> Lnet/minecraft/class_5452;<init>(Lnet/minecraft/class_6017;)V
      named <init> Lnet/minecraft/world/gen/decorator/CountMultilayerPlacementModifier;<init>(Lnet/minecraft/util/math/intprovider/IntProvider;)V
  • Method Details

    • of

      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lddo;a(Lauw;)Lddo;
      intermediary method_39621 Lnet/minecraft/class_5452;method_39621(Lnet/minecraft/class_6017;)Lnet/minecraft/class_5452;
      named of Lnet/minecraft/world/gen/decorator/CountMultilayerPlacementModifier;of(Lnet/minecraft/util/math/intprovider/IntProvider;)Lnet/minecraft/world/gen/decorator/CountMultilayerPlacementModifier;
    • of

      public static CountMultilayerPlacementModifier of(int count)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lddo;a(I)Lddo;
      intermediary method_39620 Lnet/minecraft/class_5452;method_39620(I)Lnet/minecraft/class_5452;
      named of Lnet/minecraft/world/gen/decorator/CountMultilayerPlacementModifier;of(I)Lnet/minecraft/world/gen/decorator/CountMultilayerPlacementModifier;
    • getPositions

      public Stream<BlockPos> getPositions(DecoratorContext context, Random random, BlockPos pos)
      Deprecated.
      Applies this placement modifier to the given position.
      Specified by:
      getPositions in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official a_ Lddz;a_(Lddx;Ljava/util/Random;Lgh;)Ljava/util/stream/Stream;
      intermediary method_14452 Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      named getPositions Lnet/minecraft/world/gen/decorator/PlacementModifier;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
    • getType

      public PlacementModifierType<?> getType()
      Deprecated.
      Specified by:
      getType in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official b Lddz;b()Ldea;
      intermediary method_39615 Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
      named getType Lnet/minecraft/world/gen/decorator/PlacementModifier;getType()Lnet/minecraft/world/gen/decorator/PlacementModifierType;
    • findPos

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

      private static boolean blocksSpawn(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lddo;a(Lcoc;)Z
      intermediary method_30472 Lnet/minecraft/class_5452;method_30472(Lnet/minecraft/class_2680;)Z
      named blocksSpawn Lnet/minecraft/world/gen/decorator/CountMultilayerPlacementModifier;blocksSpawn(Lnet/minecraft/block/BlockState;)Z