soulfire.InventoryRankingOptions

class soulfire.InventoryRankingOptions[source]

Bases: TypedDict

Filters and preferences for inventory item recommendations.

selector: NotRequired[soulfire.inventory_pb2.ItemSelector]
areas: NotRequired[collections.abc.Iterable[soulfire.inventory_pb2.InventoryArea]]
prefer_hotbar: NotRequired[bool]
preferred_enchantment_ids: NotRequired[collections.abc.Iterable[str]]
excluded_enchantment_ids: NotRequired[collections.abc.Iterable[str]]
prefer_high_durability: NotRequired[bool]
timeout_ms: NotRequired[int | None]