Interface ExtendedMenuTypeFactory

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

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

    Modifier and Type
    Method
    Description
    <T extends net.minecraft.world.inventory.AbstractContainerMenu, D>
    net.minecraft.world.inventory.MenuType<T>
    create(ExtendedMenuTypeFactory.MenuSupplier<T,D> supplier, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,D> streamCodec)
     
  • Method Details

    • create

      <T extends net.minecraft.world.inventory.AbstractContainerMenu, D> net.minecraft.world.inventory.MenuType<T> create(ExtendedMenuTypeFactory.MenuSupplier<T,D> supplier, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,D> streamCodec)