Allow registering world components on certain dimensions
AlphaMode opened this issue ยท 7 comments
Currently if you want to attach a world component your forced to register it for all dimensions.
Adding a method to WorldComponentFactoryRegistry like register(ComponentKey type, Identifier dimensionId, ComponentFactory<World, ? extends C> factory) could solve this
Hello @AlphaMode, have you come to a solution in the meantime? If you ended up implementing the proposed features yourself, would you mind PRing them?
Sorry I forgot about this issue, but I still don't have a proper solution for this. My use case is here https://github.com/The-Aether-Team/The-Aether/blob/1.20.1-develop/src/main/java/com/aetherteam/aether/capability/time/AetherTimeCapability.java I'm in charge of the fabric port and I want to attach this component only to the aether dimension