Schnittstelle UMenuType.DataMenuSupplier<T extends net.minecraft.world.inventory.AbstractContainerMenu>

Alle Superschnittstellen:
net.minecraft.world.inventory.MenuType.MenuSupplier<T>
Umschließende Klasse:
UMenuType<T extends net.minecraft.world.inventory.AbstractContainerMenu>
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface UMenuType.DataMenuSupplier<T extends net.minecraft.world.inventory.AbstractContainerMenu> extends net.minecraft.world.inventory.MenuType.MenuSupplier<T>
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    default T
    create(int containerId, net.minecraft.world.entity.player.Inventory playerInventory)
     
    create(int containerId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer)
     
  • Methodendetails

    • create

      T create(int containerId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer)
    • create

      default T create(int containerId, net.minecraft.world.entity.player.Inventory playerInventory)
      Angegeben von:
      create in Schnittstelle net.minecraft.world.inventory.MenuType.MenuSupplier<T extends net.minecraft.world.inventory.AbstractContainerMenu>