Klasse Inventory
java.lang.Object
gollorum.signpost.minecraft.utils.Inventory
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic intgetItemCount(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.Item item) static booleantryConsume(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack itemStack) static <TPlayer extends net.minecraft.world.entity.player.Player>
void
-
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)
-