Interface MenuTypeFactory

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 interface MenuTypeFactory
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    MenuTypeFactory.MenuSupplier<T extends net.minecraft.world.inventory.AbstractContainerMenu>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends net.minecraft.world.inventory.AbstractContainerMenu>
    net.minecraft.world.inventory.MenuType<T>
     
  • Method Details

    • create

      <T extends net.minecraft.world.inventory.AbstractContainerMenu> net.minecraft.world.inventory.MenuType<T> create(MenuTypeFactory.MenuSupplier<T> supplier)