From ff7e033db1ac2c5bcb058f6b20a316bf528d470a Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 10 Jan 2019 10:24:00 +0200 Subject: [PATCH] Tomato plants now have a hitbox. Pegasi can perch on them! --- .../com/minelittlepony/unicopia/block/BlockTomatoPlant.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/minelittlepony/unicopia/block/BlockTomatoPlant.java b/src/main/java/com/minelittlepony/unicopia/block/BlockTomatoPlant.java index 882ec949..ee754391 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/BlockTomatoPlant.java +++ b/src/main/java/com/minelittlepony/unicopia/block/BlockTomatoPlant.java @@ -50,6 +50,12 @@ public class BlockTomatoPlant extends BlockCrops { 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 protected BlockStateContainer createBlockState() { return new BlockStateContainer(this, TYPE, AGE);