Mod Notice
Optifine is a mod, and Mojang cannot fix your mods. Please remember to only report bugs that occur in vanilla Minecraft.
https://github.com/sp614x/optifine/issues/5698
Ice is a transparent block. I can't use the block
[media]Linked issues
is duplicated by
Attachments
Comments

no, it doesn't happen
[media]
Issues that are caused by modifying the game are not considered valid, you should contact OptiFine about it instead.
SInce this doesn't happen in vanilla, this report is invalid as your game was modified when experiencing this issue. In the attachments you've provided, I can see that you're using modifications and the bug tracker only handles reports that can be reproduced in a vanilla environment. If the problem persists without the use of mods, feel free to create a new report. Additionally, please see the Bug Tracker Guidelines for the minimum standards when submitting a ticket.
Thank you for your report!
However, this issue is Invalid.
Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.
Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.
Any plugin issues need to be addressed to the creator of the plugin or resource pack.
If you have problems on large servers, such as The Hive and Hypixel, please contact them first as they run modified server software.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Does this happen without OptiFine?