The 5th precept is a unique precept compared to the other 4 as it only revolves around us. Killing, stealing, lying, sexual misconduct all rely upon us creating negativity towards others, even if we do not create the physical or verbal action and the intention is in our mind it still includes someone else.
That being said, being intoxicated can lead us to "easily" do the former 4 negative actions because we are intoxicated, which leads to mindlessness.
Personally I drink and it causes me to not break the 4 other precepts but the issue here is that if I was in a situation where I was intoxicated and the causes arose there is no telling what i could then do because I have less control of my faculties.
As others have said, there is no sin being done, there is just mindlessness by intoxication. If you do not want to be mindless then do not intoxicate yourself (despite mindlessness is the whole point of intoxication)
I would like to point out that there are the 6 sensory consciousnesses and intoxication is usually related to the mind sense, you are seeking pleasure via the mind sense (unless you also enjoy the taste, sight, smell of alcohol and the feeling of drinking)
So just see it as such, see it as a seeking pleasure of the mind via external factors. There is no need to beat yourself up about it, possibly when you get older you will want to seek pleasure via the mind through other avenues, like meditation. Just know that intoxication is an obstacle to meditation.