mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Tomato plants now have a hitbox. Pegasi can perch on them!
This commit is contained in:
parent
d0ee4f157b
commit
ff7e033db1
1 changed files with 6 additions and 0 deletions
|
@ -50,6 +50,12 @@ public class BlockTomatoPlant extends BlockCrops {
|
||||||
return BOUNDING_BOX.offset(getOffset(state, source, pos));
|
return BOUNDING_BOX.offset(getOffset(state, source, pos));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
@Override
|
||||||
|
public AxisAlignedBB getCollisionBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) {
|
||||||
|
return getBoundingBox(state, world, pos);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected BlockStateContainer createBlockState() {
|
protected BlockStateContainer createBlockState() {
|
||||||
return new BlockStateContainer(this, TYPE, AGE);
|
return new BlockStateContainer(this, TYPE, AGE);
|
||||||
|
|
Loading…
Reference in a new issue