Package-level declarations
Types
Link copied to clipboard
class CleanupPlanGenerator(template: CleanupPlanPlacementTemplate, availableItems: List<ItemSlot>) : ItemPacker.ItemAmountConstraintProvider
Link copied to clipboard
class CleanupPlanPlacementTemplate(val slotContentMap: Map<ItemSlot, ItemSortChoice>, val itemAmountConstraintProvider: (ItemFacet) -> MutableList<ItemConstraintInfo>, val isGreedy: Boolean, val forbiddenSlots: Set<ItemSlot>, val forbiddenSlotsToFill: Set<ItemSlot>)
Link copied to clipboard
class InventoryCleanupPlan(val usefulItems: MutableSet<ItemSlot>, val swaps: MutableList<InventorySwap>, val mergeableItems: MutableMap<ItemAndComponents, MutableList<ItemSlot>>)
Link copied to clipboard
Link copied to clipboard
Represents the "id" of ItemStack. ItemStacks with same Item and DataComponentPatch can be merged.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ItemCategoryConstraintGroup(acceptableRange: IntRange, priority: Int, val category: ItemCategory) : ItemNumberConstraintGroup
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ItemFunctionCategoryConstraintGroup(acceptableRange: IntRange, priority: Int, val function: ItemFunction) : ItemNumberConstraintGroup
Link copied to clipboard
Defines an item constraint group.
Link copied to clipboard
class ItemPacker
After discovery phase (find all items, group them by their type, sort them by usefulness), this class tries to fit the given requirements (max blocks, required stack cound, etc.) and packs the given items in their target slots.
Link copied to clipboard
Link copied to clipboard
InventoryCleaner module