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
-
Field Summary
Fields Modifier and Type Field Description static TreeDecoratorType<AlterGroundTreeDecorator>
ALTER_GROUND
static TreeDecoratorType<BeehiveTreeDecorator>
BEEHIVE
static TreeDecoratorType<CocoaBeansTreeDecorator>
COCOA
private com.mojang.serialization.Codec<P>
codec
static TreeDecoratorType<LeaveVineTreeDecorator>
LEAVE_VINE
static TreeDecoratorType<TrunkVineTreeDecorator>
TRUNK_VINE
-
Constructor Summary
Constructors Modifier Constructor Description private
TreeDecoratorType(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
-
LEAVE_VINE
-
COCOA
-
BEEHIVE
-
ALTER_GROUND
-
codec
-
-
Constructor Details
-
TreeDecoratorType
-
-
Method Details
-
register
private static <P extends TreeDecorator> TreeDecoratorType<P> register(String id, com.mojang.serialization.Codec<P> codec) -
getCodec
-