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
official cji$a
intermediary net/minecraft/class_3917$class_3918
named net/minecraft/screen/ScreenHandlerType$Factory
  • 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
      official create Lcji$a;create(ILcfh;)Lcib;
      intermediary create Lnet/minecraft/class_3917$class_3918;create(ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;
      named create Lnet/minecraft/screen/ScreenHandlerType$Factory;create(ILnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/screen/ScreenHandler;