MethodfindSlotMatchingUnusedItemFinds the first slot in the inventory that matches the given stack, without being damaged, enchanted, or having a custom name. @param stack The item
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandInventory.java:85