How do I add mods to a Java realm?

How do I add mods to a Java realm? To do this, players must navigate to the resource pack or behavior pack tab in the realms settings. In this menu, players can control all of the active add-ons currently applied to the realm. Also in this menu, they can add a new add-on to the realm.

To do this, players must navigate to the resource pack or behavior pack tab in the realms settings. In this menu, players can control all of the active add-ons currently applied to the realm. Also in this menu, they can add a new add-on to the realm.