Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. @Override
  2. public void harvestBlock(World worldIn, EntityPlayer player, BlockPos pos, IBlockState state, TileEntity te,
  3. ItemStack stack) {
  4. super.harvestBlock(worldIn, player, pos, state, te, stack);
  5. worldIn.setBlockToAir(pos);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement