Class CountMultilayerPlacementModifier

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

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

    • MODIFIER_CODEC

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

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

    • CountMultilayerPlacementModifier

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

    • of

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

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

      public Stream<BlockPos> getPositions(FeaturePlacementContext 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
      named getPositions Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getPositions(Lnet/minecraft/world/gen/feature/FeaturePlacementContext;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
      intermediary method_14452 Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      official a_ Leht;a_(Lehr;Lazh;Liz;)Ljava/util/stream/Stream;
    • getType

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

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

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