public class LeaveVineTreeDecorator extends TreeDecorator
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<LeaveVineTreeDecorator> |
CODEC |
static LeaveVineTreeDecorator |
INSTANCE |
TYPE_CODEC
Constructor and Description |
---|
LeaveVineTreeDecorator() |
Modifier and Type | Method and Description |
---|---|
void |
generate(StructureWorldAccess world,
Random random,
List<BlockPos> logPositions,
List<BlockPos> leavesPositions,
Set<BlockPos> set,
BlockBox box) |
protected TreeDecoratorType<?> |
getType() |
private void |
method_23467(ModifiableTestableWorld modifiableTestableWorld,
BlockPos blockPos,
BooleanProperty booleanProperty,
Set<BlockPos> set,
BlockBox blockBox) |
placeVine, setBlockStateAndEncompassPosition
public static final com.mojang.serialization.Codec<LeaveVineTreeDecorator> CODEC
public static final LeaveVineTreeDecorator INSTANCE
protected TreeDecoratorType<?> getType()
getType
in class TreeDecorator
public void generate(StructureWorldAccess world, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, Set<BlockPos> set, BlockBox box)
generate
in class TreeDecorator
private void method_23467(ModifiableTestableWorld modifiableTestableWorld, BlockPos blockPos, BooleanProperty booleanProperty, Set<BlockPos> set, BlockBox blockBox)