Interface ScreenHandlerRegistry.SimpleClientHandlerFactory<T extends net.minecraft.screen.ScreenHandler>

Type Parameters:
T - the screen handler type
Enclosing class:
ScreenHandlerRegistry

@Deprecated public static interface ScreenHandlerRegistry.SimpleClientHandlerFactory<T extends net.minecraft.screen.ScreenHandler>
Deprecated.
Replaced by access widener for ScreenHandlerType.Factory in Fabric Transitive Access Wideners (v1).
A factory for screen handler instances. This is typically used on the client but is also available on the server.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(int syncId, net.minecraft.entity.player.PlayerInventory inventory)
    Deprecated.
    Creates a new client-sided screen handler.
  • Method Details

    • create

      T create(int syncId, net.minecraft.entity.player.PlayerInventory inventory)
      Deprecated.
      Creates a new client-sided screen handler.
      Parameters:
      syncId - the synchronization ID
      inventory - the player inventory
      Returns:
      the created screen handler