How can I use a modded client on Minecraft Realms?

When I was using earlier versions of 1.8, I had absolutely no issues whatsoever using a modded client. However, now when I try to use mods (including ones that I need, like Optifine), I get a message informing me that my client is incompatible.
My main question is: How can I use a modded client with Minecraft Realms?
Thank you.
Best Answer
You CAN use optifine on a Realm I use it all the time you can also use Xaero's Minimap and other minimap mods, mods that only affect you. But it comes with crashing when opening ender chests.
Pictures about "How can I use a modded client on Minecraft Realms?"



Can you use a modded client on realms?
EDIT : After more research I found that mods are not allowed at all in Realms.Can Minecraft Realms detect mods?
Usually, the answer would be a solid no. In almost every case, the server cannot directly detect the presence of a mod. There are some mods that are specifically made to be recognizable to the server, but those are few, and even then, they can be modified to disable said functionality.How to install Data Packs on Realms (Java Edition)
More answers regarding how can I use a modded client on Minecraft Realms?
Answer 2
I have tried to use mods but after some research you cannot use them with realms yet. we will just have to wait for an update
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Gustavo Fring, Andrea Piacquadio, Andrea Piacquadio, RF._.studio