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
official djy
intermediary net/minecraft/class_5452
named net/minecraft/world/gen/placementmodifier/CountMultilayerPlacementModifier
  • Field Details

    • MODIFIER_CODEC

      public static final com.mojang.serialization.Codec<CountMultilayerPlacementModifier> MODIFIER_CODEC
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Ldjy;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/placementmodifier/CountMultilayerPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
    • count

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

    • CountMultilayerPlacementModifier

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

    • of

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

      public static CountMultilayerPlacementModifier of(int count)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Ldjy;a(I)Ldjy;
      intermediary method_39620 Lnet/minecraft/class_5452;method_39620(I)Lnet/minecraft/class_5452;
      named of Lnet/minecraft/world/gen/placementmodifier/CountMultilayerPlacementModifier;of(I)Lnet/minecraft/world/gen/placementmodifier/CountMultilayerPlacementModifier;
    • 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
      official a_ Ldkj;a_(Ldkh;Lamn;Lgt;)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;
      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;
    • getType

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

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

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