TwistingVinesPlantBlock .java

net.minecraft.world.level.block.TwistingVinesPlantBlock (class, 19 lines): members: getHeadBlock, SHAPE. imports: VoxelShape.

net.minecraft.world.level.blockclass19 linescommonextends GrowingPlantBodyBlock585 B

API Surface (1)

GrowingPlantHeadBlock getHeadBlock()

Fields & Constants (1)

SHAPE

Code Graph: Dependencies (5)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

TwistingVinesPlantBlock.java19 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.block;
2
3
import net.minecraft.core.Direction;
4
import net.minecraft.world.level.block.state.BlockBehaviour;
5
import net.minecraft.world.phys.shapes.VoxelShape;
6
7
public class TwistingVinesPlantBlock extends GrowingPlantBodyBlock {
8
	private static final VoxelShape SHAPE = Block.column(8.0, 0.0, 16.0);
9
10
	public TwistingVinesPlantBlock(final BlockBehaviour.Properties properties) {
11
		super(properties, Direction.UP, SHAPE, false);
12
	}
13
14
	@Override
15
	protected GrowingPlantHeadBlock getHeadBlock() {
16
		return (GrowingPlantHeadBlock)Blocks.TWISTING_VINES;
17
	}
18
}
19

Decompiled Minecraft 26.3 source of TwistingVinesPlantBlock (net/minecraft/world/level/block/TwistingVinesPlantBlock.java) with Mojang official mappings, stored verbatim on the site.