Advertisement
Guest User

Untitled

a guest
Jun 14th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. private AxisAlignedBB boundingBox;
  2.  
  3. public BlockPlaceableItems setBoundingBox(double x1, double y1, double z1, double x2, double y2, double z2) {
  4. this.boundingBox = new AxisAlignedBB(x1,y1,z1,x2,y2,z2);
  5. return this;
  6. }
  7.  
  8. @Override
  9. public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
  10. return this.boundingBox;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement