package micdoodle8.mods.galacticraft.api.block; import net.minecraft.block.state.IBlockState; import net.minecraft.util.BlockPos; import net.minecraft.world.World; /** * If block requires updates when oxygen is added and removed, implement this * into your block class. * * It is recommended that blocks implementing this should be set to tick * randomly, and should override @updateTick() also to carry out oxygen checks. */ public interface IOxygenReliantBlock { public void onOxygenRemoved(World world, BlockPos pos, IBlockState currentState); public void onOxygenAdded(World world, BlockPos pos, IBlockState currentState); }