Class CountPlacementModifier


public class CountPlacementModifier extends AbstractCountPlacementModifier
Mappings:
Namespace Name
named net/minecraft/world/gen/placementmodifier/CountPlacementModifier
intermediary net/minecraft/class_6793
official enf
  • Field Details

    • MODIFIER_CODEC

      public static final com.mojang.serialization.MapCodec<CountPlacementModifier> MODIFIER_CODEC
      Mappings:
      Namespace Name Mixin selector
      named MODIFIER_CODEC Lnet/minecraft/world/gen/placementmodifier/CountPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_35718 Lnet/minecraft/class_6793;field_35718:Lcom/mojang/serialization/MapCodec;
      official a Lenf;a:Lcom/mojang/serialization/MapCodec;
    • count

      private final IntProvider count
      Mappings:
      Namespace Name Mixin selector
      named count Lnet/minecraft/world/gen/placementmodifier/CountPlacementModifier;count:Lnet/minecraft/util/math/intprovider/IntProvider;
      intermediary field_35719 Lnet/minecraft/class_6793;field_35719:Lnet/minecraft/class_6017;
      official c Lenf;c:Lbsn;
  • Constructor Details

    • CountPlacementModifier

      private CountPlacementModifier(IntProvider count)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/placementmodifier/CountPlacementModifier;<init>(Lnet/minecraft/util/math/intprovider/IntProvider;)V
      intermediary <init> Lnet/minecraft/class_6793;<init>(Lnet/minecraft/class_6017;)V
      official <init> Lenf;<init>(Lbsn;)V
  • Method Details

    • of

      public static CountPlacementModifier of(IntProvider count)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/world/gen/placementmodifier/CountPlacementModifier;of(Lnet/minecraft/util/math/intprovider/IntProvider;)Lnet/minecraft/world/gen/placementmodifier/CountPlacementModifier;
      intermediary method_39624 Lnet/minecraft/class_6793;method_39624(Lnet/minecraft/class_6017;)Lnet/minecraft/class_6793;
      official a Lenf;a(Lbsn;)Lenf;
    • of

      public static CountPlacementModifier of(int count)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/world/gen/placementmodifier/CountPlacementModifier;of(I)Lnet/minecraft/world/gen/placementmodifier/CountPlacementModifier;
      intermediary method_39623 Lnet/minecraft/class_6793;method_39623(I)Lnet/minecraft/class_6793;
      official a Lenf;a(I)Lenf;
    • getCount

      protected int getCount(Random random, BlockPos pos)
      Specified by:
      getCount in class AbstractCountPlacementModifier
      Mappings:
      Namespace Name Mixin selector
      named getCount Lnet/minecraft/world/gen/placementmodifier/AbstractCountPlacementModifier;getCount(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_14452 Lnet/minecraft/class_5857;method_14452(Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)I
      official a Lenu;a(Lbam;Ljh;)I
    • getType

      public PlacementModifierType<?> getType()
      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 Lenq;b()Lenr;