What the title says.
@Override
public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer,
ItemStack stack) {
if (!worldIn.isRemote)
{
worldIn.scheduleUpdate(pos, this, 20 * ModConfig.seconds);
}
}
@Override
public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand) {
if (!worldIn.isRemote) {
worldIn.setBlockToAir(pos);
worldIn.playSound(null, pos, SoundEvents.BLOCK_WOOD_BREAK, SoundCategory.BLOCKS, 0.6f, 1.2f);
}
}
Will this not work anymore?