Advertisement
Guest User

Untitled

a guest
Jan 12th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. private static final AxisAlignedBB BOUNDING_BOX = new AxisAlignedBB(0, 0, 14/16, 1, 1, 14/16);
  2.  
  3. // later on
  4. @Override
  5. public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos)
  6. {
  7. return BOUNDING_BOX;
  8. }
  9.  
  10. @Override
  11. public AxisAlignedBB getCollisionBoundingBox(IBlockState blockState, World worldIn, BlockPos pos)
  12. {
  13. return BOUNDING_BOX;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement