I was playing around with the permission service (implemented my own, mainly to see if it’s difficult). When I read the docs it also talked about the contextual Service and what it does. I sounded pretty useful, so I wanted to try out the Sponge implementation first, to see how it works. It didn’t do anything.
After some digging in SpongeCommon I found, that Sponge does provide their own context calculator (which creates Contexts for the world, dimension, etc.), they even try to register it with the permission service, but the method registerContextCalculator (in the SpongePermissionService) seems to be empty, also the getActiveContexts method only returns the global_context.
As far as I could see it it’s also not added via mixin.
Now, why is most of the service implemented, yet the crucial part is left out?
Thanks in advance!