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