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 cyi
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 Lcyi;a:Lcyi;
      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 Lcyi;b:Lcyi;
      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 Lcyi;c:Lcyi;
      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 Lcyi;d:Lcyi;
      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 Lcyi;e:Lcyi;
      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;
    • codec

      private final com.mojang.serialization.Codec<P extends TreeDecorator> codec
      Mappings:
      Namespace Name Mixin selector
      official f Lcyi;f: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> Lcyi;<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 Lcyi;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcyi;
      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 Lcyi;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;