Interface ScreenHandlerType.Factory<T extends ScreenHandler>

Enclosing class:
ScreenHandlerType<T extends ScreenHandler>

private static interface ScreenHandlerType.Factory<T extends ScreenHandler>
A functional interface that creates a screen handler instance on the client.

Screen handlers usually have a constructor that can be used as an implementation. See the note on ScreenHandler.

Mappings:
Namespace Name
named net/minecraft/screen/ScreenHandlerType$Factory
intermediary net/minecraft/class_3917$class_3918
official crc$a
  • Method Summary

    Modifier and Type
    Method
    Description
    create(int syncId, PlayerInventory playerInventory)
     
  • Method Details

    • create

      T create(int syncId, PlayerInventory playerInventory)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/screen/ScreenHandlerType$Factory;create(ILnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/screen/ScreenHandler;
      intermediary create Lnet/minecraft/class_3917$class_3918;create(ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;
      official create Lcrc$a;create(ILcmw;)Lcpu;