Expand description
All the different types of Slots
Re-exportsยง
pub use slot::*;
Modulesยง
- anvil_
slots ๐ - armor_
slot ๐ - crafting_
slots ๐ - normal_
slot ๐ - restricted_
slot ๐ - result_
handler ๐ - result_
slot ๐ - slot
- Slot abstraction for inventory access.
Structsยง
- Anvil
Result Handler - Result slot handler for an anvil.
- Armor
Slot - A
NormalSlotthat only accepts items equippable in its equipment slot, caps at one item, and respects the prevent-armor-change enchantment effect. - Crafting
Handler - A Recipe Handler for Crafting Recipes
- Normal
Slot - A normal slot that references a container and index.
- Restricted
Rules - The predicates behind a
RestrictedSlot, shared by every slot of a section so a slot costs one pointer rather than one per predicate. - Restricted
Slot - A
NormalSlotwith custom place and pickup rules. - Result
Slot - A fake Slot that contains the resulting item of f.e. a craft
Traitsยง
- Result
Handler - A trait for recipe handlers that update slots in containers according to recipes