package info.u_team.u_team_test.init;

import info.u_team.u_team_core.util.registry.*;
import info.u_team.u_team_test.screen.*;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

public class TestScreens {
	
	private static void setup(FMLClientSetupEvent event) {
		MainThreadWorker.run(() -> {
			ClientRegistry.registerScreen(TestContainers.BASIC, BasicTileEntityScreen::new);
			ClientRegistry.registerScreen(TestContainers.BASIC_ENERGY_CREATOR, BasicEnergyCreatorScreen::new);
			ClientRegistry.registerScreen(TestContainers.BASIC_FLUID_INVENTORY, BasicFluidInventoryScreen::new);
		});
	}
	
	public static void registerMod(IEventBus bus) {
		bus.addListener(TestScreens::setup);
	}
}

package info.u_team.u_team_test.init;

import info.u_team.u_team_core.util.registry.*;
import info.u_team.u_team_test.screen.*;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

public class TestScreens {
	
	public static void setup(FMLClientSetupEvent event) {
		MainThreadWorker.run(() -> {
			ClientRegistry.registerScreen(TestContainers.BASIC, BasicTileEntityScreen::new);
			ClientRegistry.registerScreen(TestContainers.BASIC_ENERGY_CREATOR, BasicEnergyCreatorScreen::new);
			ClientRegistry.registerScreen(TestContainers.BASIC_FLUID_INVENTORY, BasicFluidInventoryScreen::new);
		});
	}
	
	public static void registerMod(IEventBus bus) {
		bus.addListener(TestScreens::setup);
	}
}

--- 
+++ 
@@ -7,7 +7,7 @@
 
 public class TestScreens {
 	
-	public static void setup(FMLClientSetupEvent event) {
+	private static void setup(FMLClientSetupEvent event) {
 		MainThreadWorker.run(() -> {
 			ClientRegistry.registerScreen(TestContainers.BASIC, BasicTileEntityScreen::new);
 			ClientRegistry.registerScreen(TestContainers.BASIC_ENERGY_CREATOR, BasicEnergyCreatorScreen::new);
Make the listener method private now