Interface AbstractClientModInitializer.ScreenRegistration

Enclosing class:
AbstractClientModInitializer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AbstractClientModInitializer.ScreenRegistration
  • Method Summary

    Modifier and Type
    Method
    Description
    <M extends net.minecraft.world.inventory.AbstractContainerMenu, U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<M>>
    void
    register(net.minecraft.world.inventory.MenuType<? extends M> type, AbstractClientModInitializer.ScreenConstructor<M,U> factory)
     
  • Method Details

    • register

      <M extends net.minecraft.world.inventory.AbstractContainerMenu, U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<M>> void register(net.minecraft.world.inventory.MenuType<? extends M> type, AbstractClientModInitializer.ScreenConstructor<M,U> factory)