Request: Dimension Blacklist
Maltshakes opened this issue ยท 2 comments
This is a bit of a niche request, but I have a 1.20.1 survival server that has a creative dimension where players can test out aspects of the modpack (it has a separate inventory so people can't bring things back over to the survival side). I'm running into an issue where people can use the Interplanar Projector in the creative dimension to upload a bunch of images. Perhaps a blacklist of some sort to prevent the camera from working in listed dimensions could be added? Or perhaps you have another solution?
It's pretty niche indeed. Although adding dimension blacklist would not be that hard, I think it would be better to use KubeJS for this. With it you would be able to check all aspects of the photo (projector or not, etc) and cancel the shot accordingly.
Implementing some kind of a temporary storage for photos taken in this dimension (and deleting them on exit) would be interesting, and would match testing purpose of the dimension.
Or something like advancement predicates for camera, to allow adding custom conditions when camera cannot function.
But it's tricky, and even if I decide to work on this someday, it will probably be on 1.21+, since Exposure codebase on 1.20 and 1.21 is pretty different, and not all of it can be implemented easily on 1.20.
So KubeJS the best solution for this.