Class FoliagePlacerType<P extends FoliagePlacer>

java.lang.Object
net.minecraft.world.gen.foliage.FoliagePlacerType<P>

public class FoliagePlacerType<P extends FoliagePlacer> extends Object
Mappings:
Namespace Name
official dof
intermediary net/minecraft/class_4648
named net/minecraft/world/gen/foliage/FoliagePlacerType
  • Field Details

    • BLOB_FOLIAGE_PLACER

      public static final FoliagePlacerType<BlobFoliagePlacer> BLOB_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official a Ldof;a:Ldof;
      intermediary field_21299 Lnet/minecraft/class_4648;field_21299:Lnet/minecraft/class_4648;
      named BLOB_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;BLOB_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • SPRUCE_FOLIAGE_PLACER

      public static final FoliagePlacerType<SpruceFoliagePlacer> SPRUCE_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official b Ldof;b:Ldof;
      intermediary field_21300 Lnet/minecraft/class_4648;field_21300:Lnet/minecraft/class_4648;
      named SPRUCE_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;SPRUCE_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • PINE_FOLIAGE_PLACER

      public static final FoliagePlacerType<PineFoliagePlacer> PINE_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official c Ldof;c:Ldof;
      intermediary field_21301 Lnet/minecraft/class_4648;field_21301:Lnet/minecraft/class_4648;
      named PINE_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;PINE_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • ACACIA_FOLIAGE_PLACER

      public static final FoliagePlacerType<AcaciaFoliagePlacer> ACACIA_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official d Ldof;d:Ldof;
      intermediary field_21302 Lnet/minecraft/class_4648;field_21302:Lnet/minecraft/class_4648;
      named ACACIA_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;ACACIA_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • BUSH_FOLIAGE_PLACER

      public static final FoliagePlacerType<BushFoliagePlacer> BUSH_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official e Ldof;e:Ldof;
      intermediary field_24161 Lnet/minecraft/class_4648;field_24161:Lnet/minecraft/class_4648;
      named BUSH_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;BUSH_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • FANCY_FOLIAGE_PLACER

      public static final FoliagePlacerType<LargeOakFoliagePlacer> FANCY_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official f Ldof;f:Ldof;
      intermediary field_24162 Lnet/minecraft/class_4648;field_24162:Lnet/minecraft/class_4648;
      named FANCY_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;FANCY_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • JUNGLE_FOLIAGE_PLACER

      public static final FoliagePlacerType<JungleFoliagePlacer> JUNGLE_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official g Ldof;g:Ldof;
      intermediary field_24163 Lnet/minecraft/class_4648;field_24163:Lnet/minecraft/class_4648;
      named JUNGLE_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;JUNGLE_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • MEGA_PINE_FOLIAGE_PLACER

      public static final FoliagePlacerType<MegaPineFoliagePlacer> MEGA_PINE_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official h Ldof;h:Ldof;
      intermediary field_24164 Lnet/minecraft/class_4648;field_24164:Lnet/minecraft/class_4648;
      named MEGA_PINE_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;MEGA_PINE_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • DARK_OAK_FOLIAGE_PLACER

      public static final FoliagePlacerType<DarkOakFoliagePlacer> DARK_OAK_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official i Ldof;i:Ldof;
      intermediary field_24165 Lnet/minecraft/class_4648;field_24165:Lnet/minecraft/class_4648;
      named DARK_OAK_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;DARK_OAK_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • RANDOM_SPREAD_FOLIAGE_PLACER

      public static final FoliagePlacerType<RandomSpreadFoliagePlacer> RANDOM_SPREAD_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official j Ldof;j:Ldof;
      intermediary field_29296 Lnet/minecraft/class_4648;field_29296:Lnet/minecraft/class_4648;
      named RANDOM_SPREAD_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;RANDOM_SPREAD_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • CHERRY_FOLIAGE_PLACER

      public static final FoliagePlacerType<CherryFoliagePlacer> CHERRY_FOLIAGE_PLACER
      Mappings:
      Namespace Name Mixin selector
      official k Ldof;k:Ldof;
      intermediary field_42847 Lnet/minecraft/class_4648;field_42847:Lnet/minecraft/class_4648;
      named CHERRY_FOLIAGE_PLACER Lnet/minecraft/world/gen/foliage/FoliagePlacerType;CHERRY_FOLIAGE_PLACER:Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • codec

      private final com.mojang.serialization.Codec<P extends FoliagePlacer> codec
      Mappings:
      Namespace Name Mixin selector
      official l Ldof;l:Lcom/mojang/serialization/Codec;
      intermediary field_24932 Lnet/minecraft/class_4648;field_24932:Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/world/gen/foliage/FoliagePlacerType;codec:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • FoliagePlacerType

      private FoliagePlacerType(com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldof;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_4648;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/world/gen/foliage/FoliagePlacerType;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • register

      private static <P extends FoliagePlacer> FoliagePlacerType<P> register(String id, com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official a Ldof;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Ldof;
      intermediary method_28850 Lnet/minecraft/class_4648;method_28850(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4648;
      named register Lnet/minecraft/world/gen/foliage/FoliagePlacerType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/foliage/FoliagePlacerType;
    • getCodec

      public com.mojang.serialization.Codec<P> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Ldof;a()Lcom/mojang/serialization/Codec;
      intermediary method_28849 Lnet/minecraft/class_4648;method_28849()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/gen/foliage/FoliagePlacerType;getCodec()Lcom/mojang/serialization/Codec;