Sadly at this point in time, Game Pass users can't mod their Minecraft because the game files are inaccessible. At some point Microsoft plans to allow Game Pass files to be moved around, making it possible to mod again. A lot of things have been messing up for me ever since Microsoft bought Minecraft and moved it to their store.