package com.minelittlepony.unicopia.container; import net.minecraft.screen.ScreenHandler; import net.minecraft.screen.ScreenHandlerType; import net.minecraft.util.Identifier; import net.minecraft.util.registry.Registry; public interface UScreenHandlers { ScreenHandlerType SPELL_BOOK = register("spell_book", SpellbookScreenHandler::new); static ScreenHandlerType register(String name, ScreenHandlerType.Factory factory) { return Registry.register(Registry.SCREEN_HANDLER, new Identifier("unicopia", name), new ScreenHandlerType<>(factory)); } static void bootstrap() { } }