Package net.minecraft.world.gen.tree
Class TreeDecoratorType<P extends TreeDecorator>
java.lang.Object
net.minecraft.world.gen.tree.TreeDecoratorType<P>
public class TreeDecoratorType<P extends TreeDecorator> extends Object
- Mappings:
Namespace Name official cuiintermediary net/minecraft/class_4663named net/minecraft/world/gen/tree/TreeDecoratorType
-
Field Summary
Fields Modifier and Type Field Description static TreeDecoratorType<AlterGroundTreeDecorator>ALTER_GROUNDstatic TreeDecoratorType<BeehiveTreeDecorator>BEEHIVEstatic TreeDecoratorType<CocoaBeansTreeDecorator>COCOAprivate com.mojang.serialization.Codec<P>codecstatic TreeDecoratorType<LeavesVineTreeDecorator>LEAVE_VINEstatic TreeDecoratorType<TrunkVineTreeDecorator>TRUNK_VINE -
Constructor Summary
Constructors Modifier Constructor Description privateTreeDecoratorType(com.mojang.serialization.Codec<P> codec) -
Method Summary
Modifier and Type Method Description com.mojang.serialization.Codec<P>getCodec()private static <P extends TreeDecorator>
TreeDecoratorType<P>register(String id, com.mojang.serialization.Codec<P> codec)
-
Field Details
-
TRUNK_VINE
- Mappings:
Namespace Name Mixin selector official aLcui;a:Lcui;intermediary field_21320Lnet/minecraft/class_4663;field_21320:Lnet/minecraft/class_4663;named TRUNK_VINELnet/minecraft/world/gen/tree/TreeDecoratorType;TRUNK_VINE:Lnet/minecraft/world/gen/tree/TreeDecoratorType;
-
LEAVE_VINE
- Mappings:
Namespace Name Mixin selector official bLcui;b:Lcui;intermediary field_21321Lnet/minecraft/class_4663;field_21321:Lnet/minecraft/class_4663;named LEAVE_VINELnet/minecraft/world/gen/tree/TreeDecoratorType;LEAVE_VINE:Lnet/minecraft/world/gen/tree/TreeDecoratorType;
-
COCOA
- Mappings:
Namespace Name Mixin selector official cLcui;c:Lcui;intermediary field_21322Lnet/minecraft/class_4663;field_21322:Lnet/minecraft/class_4663;named COCOALnet/minecraft/world/gen/tree/TreeDecoratorType;COCOA:Lnet/minecraft/world/gen/tree/TreeDecoratorType;
-
BEEHIVE
- Mappings:
Namespace Name Mixin selector official dLcui;d:Lcui;intermediary field_21323Lnet/minecraft/class_4663;field_21323:Lnet/minecraft/class_4663;named BEEHIVELnet/minecraft/world/gen/tree/TreeDecoratorType;BEEHIVE:Lnet/minecraft/world/gen/tree/TreeDecoratorType;
-
ALTER_GROUND
- Mappings:
Namespace Name Mixin selector official eLcui;e:Lcui;intermediary field_21324Lnet/minecraft/class_4663;field_21324:Lnet/minecraft/class_4663;named ALTER_GROUNDLnet/minecraft/world/gen/tree/TreeDecoratorType;ALTER_GROUND:Lnet/minecraft/world/gen/tree/TreeDecoratorType;
-
codec
- Mappings:
Namespace Name Mixin selector official fLcui;f:Lcom/mojang/serialization/Codec;intermediary field_24963Lnet/minecraft/class_4663;field_24963:Lcom/mojang/serialization/Codec;named codecLnet/minecraft/world/gen/tree/TreeDecoratorType;codec:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
TreeDecoratorType
- Mappings:
Namespace Name Mixin selector official <init>Lcui;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_4663;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/tree/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 aLcui;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcui;intermediary method_28895Lnet/minecraft/class_4663;method_28895(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4663;named registerLnet/minecraft/world/gen/tree/TreeDecoratorType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/tree/TreeDecoratorType;
-
getCodec
- Mappings:
Namespace Name Mixin selector official aLcui;a()Lcom/mojang/serialization/Codec;intermediary method_28894Lnet/minecraft/class_4663;method_28894()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/gen/tree/TreeDecoratorType;getCodec()Lcom/mojang/serialization/Codec;
-