StorageManager storageManager = CoreRegistry.put(StorageManager.class,
new StorageManagerInternal(CoreRegistry.get(ModuleManager.class).getEnvironment(), entityManager));
LocalChunkProvider chunkProvider = new LocalChunkProvider(storageManager, entityManager, worldGenerator);
CoreRegistry.get(ComponentSystemManager.class).register(new RelevanceSystem(chunkProvider), "engine:relevanceSystem");
EntityAwareWorldProvider entityWorldProvider = new EntityAwareWorldProvider(new WorldProviderCoreImpl(worldInfo, chunkProvider));
WorldProvider worldProvider = new WorldProviderWrapper(entityWorldProvider);
CoreRegistry.put(WorldProvider.class, worldProvider);
chunkProvider.setBlockEntityRegistry(entityWorldProvider);
CoreRegistry.put(BlockEntityRegistry.class, entityWorldProvider);
CoreRegistry.get(ComponentSystemManager.class).register(entityWorldProvider, "engine:BlockEntityRegistry");