Mod flowers bounding boxes now match their shift, like vanilla flowers

This commit is contained in:
Vincent Lee committed 2017-03-16 19:57:34 -05:00
1 parent 65cd429cb5
commit 8529cd2ae9
2 files changed
+2 -9

No files matched your search

@@ -82,7 +82,7 @@ public class BlockModFlower extends BlockFlower implements ILexiconable, IPickup
@Nonnull
@Override
public AxisAlignedBB getBoundingBox(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos) {
return AABB;
return AABB.move(state.getOffset(world, pos));
}
@Nonnull
@@ -136,7 +136,7 @@ public class BlockSpecialFlower extends BlockFlower implements ISpecialFlower, I
@Nonnull
@Override
public AxisAlignedBB getBoundingBox(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos) {
return AABB;
return AABB.move(state.getOffset(world, pos));
}
@Nonnull
@@ -205,13 +205,6 @@ public class BlockSpecialFlower extends BlockFlower implements ISpecialFlower, I
return true;
}
@SideOnly(Side.CLIENT)
@Nonnull
@Override
public BlockRenderLayer getBlockLayer() {
return BlockRenderLayer.CUTOUT;
}
@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(@Nonnull Item item, CreativeTabs tab, @Nonnull NonNullList<ItemStack> stacks) {