Class CountPlacementModifier


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

    • MODIFIER_CODEC

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

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

    • CountPlacementModifier

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

    • of

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

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

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

      public PlacementModifierType<?> getType()
      Specified by:
      getType in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official b Ldqz;b()Ldra;
      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;