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.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
ExtendedMenuTypeFactory.MenuSupplier<T extends net.minecraft.world.inventory.AbstractContainerMenu,
D> -
Method Summary
Modifier and TypeMethodDescription<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)
-