Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void harvestBlock(World worldIn, EntityPlayer player, BlockPos pos, IBlockState state, TileEntity te,
- ItemStack stack) {
- super.harvestBlock(worldIn, player, pos, state, te, stack);
- worldIn.setBlockToAir(pos);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement