Class TreeDecoratorType<P extends TreeDecorator>

java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecoratorType<P>

public class TreeDecoratorType<P extends TreeDecorator> extends Object
Mappings:
Namespace Name
official dwr
intermediary net/minecraft/class_4663
named net/minecraft/world/gen/treedecorator/TreeDecoratorType
  • Field Details

    • TRUNK_VINE

      public static final TreeDecoratorType<TrunkVineTreeDecorator> TRUNK_VINE
      Mappings:
      Namespace Name Mixin selector
      official a Ldwr;a:Ldwr;
      intermediary field_21320 Lnet/minecraft/class_4663;field_21320:Lnet/minecraft/class_4663;
      named TRUNK_VINE Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;TRUNK_VINE:Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • LEAVE_VINE

      public static final TreeDecoratorType<LeavesVineTreeDecorator> LEAVE_VINE
      Mappings:
      Namespace Name Mixin selector
      official b Ldwr;b:Ldwr;
      intermediary field_21321 Lnet/minecraft/class_4663;field_21321:Lnet/minecraft/class_4663;
      named LEAVE_VINE Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;LEAVE_VINE:Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • COCOA

      public static final TreeDecoratorType<CocoaBeansTreeDecorator> COCOA
      Mappings:
      Namespace Name Mixin selector
      official c Ldwr;c:Ldwr;
      intermediary field_21322 Lnet/minecraft/class_4663;field_21322:Lnet/minecraft/class_4663;
      named COCOA Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;COCOA:Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • BEEHIVE

      public static final TreeDecoratorType<BeehiveTreeDecorator> BEEHIVE
      Mappings:
      Namespace Name Mixin selector
      official d Ldwr;d:Ldwr;
      intermediary field_21323 Lnet/minecraft/class_4663;field_21323:Lnet/minecraft/class_4663;
      named BEEHIVE Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;BEEHIVE:Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • ALTER_GROUND

      public static final TreeDecoratorType<AlterGroundTreeDecorator> ALTER_GROUND
      Mappings:
      Namespace Name Mixin selector
      official e Ldwr;e:Ldwr;
      intermediary field_21324 Lnet/minecraft/class_4663;field_21324:Lnet/minecraft/class_4663;
      named ALTER_GROUND Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;ALTER_GROUND:Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • ATTACHED_TO_LEAVES

      public static final TreeDecoratorType<AttachedToLeavesTreeDecorator> ATTACHED_TO_LEAVES
      Mappings:
      Namespace Name Mixin selector
      official f Ldwr;f:Ldwr;
      intermediary field_38791 Lnet/minecraft/class_4663;field_38791:Lnet/minecraft/class_4663;
      named ATTACHED_TO_LEAVES Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;ATTACHED_TO_LEAVES:Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • codec

      private final com.mojang.serialization.Codec<P extends TreeDecorator> codec
      Mappings:
      Namespace Name Mixin selector
      official g Ldwr;g:Lcom/mojang/serialization/Codec;
      intermediary field_24963 Lnet/minecraft/class_4663;field_24963:Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;codec:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • TreeDecoratorType

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

    • register

      private static <P extends TreeDecorator> TreeDecoratorType<P> register(String id, com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwr;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Ldwr;
      intermediary method_28895 Lnet/minecraft/class_4663;method_28895(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4663;
      named register Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • getCodec

      public com.mojang.serialization.Codec<P> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Ldwr;a()Lcom/mojang/serialization/Codec;
      intermediary method_28894 Lnet/minecraft/class_4663;method_28894()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;getCodec()Lcom/mojang/serialization/Codec;