Class ItemStackHelper


  • public class ItemStackHelper
    extends java.lang.Object
    • Constructor Detail

      • ItemStackHelper

        public ItemStackHelper()
    • Method Detail

      • removeItem

        public static ItemStack removeItem​(java.util.List<ItemStack> p_188382_0_,
                                           int p_188382_1_,
                                           int p_188382_2_)
      • takeItem

        public static ItemStack takeItem​(java.util.List<ItemStack> p_188383_0_,
                                         int p_188383_1_)
      • clearOrCountMatchingItems

        public static int clearOrCountMatchingItems​(IInventory p_233534_0_,
                                                    java.util.function.Predicate<ItemStack> p_233534_1_,
                                                    int p_233534_2_,
                                                    boolean p_233534_3_)
      • clearOrCountMatchingItems

        public static int clearOrCountMatchingItems​(ItemStack p_233535_0_,
                                                    java.util.function.Predicate<ItemStack> p_233535_1_,
                                                    int p_233535_2_,
                                                    boolean p_233535_3_)