package info.u_team.u_team_test.init;

import info.u_team.u_team_core.util.registry.RegistryWorker;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.screen.*;
import net.minecraft.client.gui.ScreenManager;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

@EventBusSubscriber(modid = TestMod.MODID, bus = Bus.MOD, value = Dist.CLIENT)
public class TestScreens {
	
	@SubscribeEvent
	public static void register(FMLClientSetupEvent event) {
		RegistryWorker.runOnMainThread(() -> {
			ScreenManager.registerFactory(TestContainers.BASIC, BasicTileEntityScreen::new);
			ScreenManager.registerFactory(TestContainers.BASIC_ENERGY_CREATOR, BasicEnergyCreatorScreen::new);
			ScreenManager.registerFactory(TestContainers.BASIC_FLUID_INVENTORY, BasicFluidInventoryScreen::new);
		});
	}
	
}

@@ -77,24 +77,22 @@
 egistry.
-Registry
+Synced
 Worker;%0A
@@ -704,16 +704,14 @@
 %7B%0A%09%09
-Registry
+Synced
 Work

Fix class rename in caller class