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 dmb
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 Ldmb;a:Ldmb;
      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 Ldmb;b:Ldmb;
      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 Ldmb;c:Ldmb;
      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 Ldmb;d:Ldmb;
      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 Ldmb;e:Ldmb;
      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 Ldmb;f:Ldmb;
      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 Ldmb;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> Ldmb;<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 Ldmb;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Ldmb;
      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 Ldmb;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;