Class CountPlacementModifier


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

    • MODIFIER_CODEC

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

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

    • CountPlacementModifier

      private CountPlacementModifier(IntProvider count)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddf;<init>(Laup;)V
      intermediary <init> Lnet/minecraft/class_6793;<init>(Lnet/minecraft/class_6017;)V
      named <init> Lnet/minecraft/world/gen/decorator/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 Lddf;a(Laup;)Lddf;
      intermediary method_39624 Lnet/minecraft/class_6793;method_39624(Lnet/minecraft/class_6017;)Lnet/minecraft/class_6793;
      named of Lnet/minecraft/world/gen/decorator/CountPlacementModifier;of(Lnet/minecraft/util/math/intprovider/IntProvider;)Lnet/minecraft/world/gen/decorator/CountPlacementModifier;
    • of

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

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

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