[Change] Use Refactored Plant API (#24)
This commit is contained in:
parent
372d7ddd13
commit
ccd4a6f57d
18 changed files with 37 additions and 110 deletions
|
@ -20,7 +20,7 @@ import net.minecraft.world.phys.shapes.VoxelShape;
|
|||
|
||||
public class CavePumpkinVineBlock extends EndPlantWithAgeBlock {
|
||||
public CavePumpkinVineBlock() {
|
||||
super(p -> p.offsetType(BlockBehaviour.OffsetType.NONE));
|
||||
super(basePlantSettings().offsetType(BlockBehaviour.OffsetType.NONE));
|
||||
}
|
||||
|
||||
private static final VoxelShape SHAPE = Block.box(4, 0, 4, 12, 16, 12);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue