I am trying to make my mod create configurations for every dimension that is registered. However, I'm getting a null pointer exception and have tried many times in vain to fix it. Here is the code:   public static void loadAll() { //Dimensions Integer[] ids = DimensionManager.getStaticDimensionIDs(); for (int id : ids) { WorldProvider dimension = DimensionManager.getProvider(id); //NullPointer String modId = ModIdentification.idFromObjec