Expand description
All the different types of Slots
Re-exportsΒ§
pub use slot::*;
ModulesΒ§
- anvil_
slots π - armor_
slot π - crafting_
slots π - enchantment_
slots π - Slots specific to the enchanting-table menu.
- furnace_
slots π - Furnace-specific input, fuel, and result slots.
- grindstone_
slots π - Grindstone result slot.
- 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
- Enchant
Item Slot - The enchanting table item slot accepts anything but holds a single item
- Furnace
Fuel Slot - Accepts furnace fuel and empty buckets, with Vanillaβs bucket stack limit.
- Furnace
Result Slot - Rejects insertion and awards accumulated cooking XP and crafted stats when output is taken.
- Grindstone
Result Handler - Result slot handler for a grindstone.
- 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