Class RegisterMenuScreen

java.lang.Object
net.darkhax.bookshelf.common.api.registry.register.RegisterMenuScreen

public final class RegisterMenuScreen extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    RegisterMenuScreen.ScreenFactory<T extends net.minecraft.world.inventory.AbstractContainerMenu,U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<T>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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
    bind(net.minecraft.world.inventory.MenuType<? extends M> type, RegisterMenuScreen.ScreenFactory<M,U> factory)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegisterMenuScreen

      public RegisterMenuScreen()
  • Method Details

    • bind

      public <M extends net.minecraft.world.inventory.AbstractContainerMenu, U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<M>> void bind(net.minecraft.world.inventory.MenuType<? extends M> type, RegisterMenuScreen.ScreenFactory<M,U> factory)