Klasse Inventory

java.lang.Object
gollorum.signpost.minecraft.utils.Inventory

public class Inventory extends Object
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static int
    getItemCount(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.Item item)
     
    static boolean
    tryConsume(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack itemStack)
     
    static <TPlayer extends net.minecraft.world.entity.player.Player>
    void
    tryPay(TPlayer player, net.minecraft.world.item.ItemStack itemStack, Consumer<TPlayer> onSuccess)
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • Inventory

      public Inventory()
  • Methodendetails

    • getItemCount

      public static int getItemCount(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.Item item)
    • tryPay

      public static <TPlayer extends net.minecraft.world.entity.player.Player> void tryPay(TPlayer player, net.minecraft.world.item.ItemStack itemStack, Consumer<TPlayer> onSuccess)
    • tryConsume

      public static boolean tryConsume(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack itemStack)