package com.minelittlepony.unicopia.container; import net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry; import net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry.SimpleClientHandlerFactory; import net.minecraft.screen.ScreenHandler; import net.minecraft.screen.ScreenHandlerType; import net.minecraft.util.Identifier; public interface UScreenHandlers { ScreenHandlerType SPELL_BOOK = register("spell_book", SpellbookScreenHandler::new); static ScreenHandlerType register(String name, SimpleClientHandlerFactory factory) { return ScreenHandlerRegistry.registerSimple(new Identifier("unicopia", name), factory); } static void bootstrap() { } }