filterInventory

public final static Map<UUID, List<ItemStack>> filterInventory(Inventory inventory, UUID uuid, Boolean remove, Predicate<BaseSetting> predicate)
public final static Map<UUID, List<ItemStack>> filterInventory(Inventory inventory, UUID uuid, Boolean remove)
public final static Map<UUID, List<ItemStack>> filterInventory(Inventory inventory, UUID uuid)
public final static Map<UUID, List<ItemStack>> filterInventory(Inventory inventory)

从容器中删除 某个UUID 的绑定物品

Return

物主uuid与一组绑定物品的映射或空气

Parameters

inventory

容器

uuid

绑定物品的物主,null表示所有绑定物品

remove

是否删除源物品

predicate

是否进行配置检查, null 不检查


public final static Map<UUID, List<ItemStack>> filterInventory(Inventory inventory, Boolean remove, Boolean deep, BiPredicate<UUID, ItemStack> predicate)
public final static Map<UUID, List<ItemStack>> filterInventory(Inventory inventory, Boolean remove, BiPredicate<UUID, ItemStack> predicate)
public final static Map<UUID, List<ItemStack>> filterInventory(Inventory inventory, BiPredicate<UUID, ItemStack> predicate)