Interface SlotSelector
- All Known Implementing Classes:
SlotSelector.FilteringSelector, SlotSelector.TrackingSelector
public sealed interface SlotSelector
permits SlotSelector.FilteringSelector, SlotSelector.TrackingSelector
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SlotSelectorstatic final SlotSelectorstatic final SlotSelector -
Method Summary
Modifier and TypeMethodDescriptionlimit(int limit) static SlotSelectorstatic SlotSelectortracking(SlotSelector slotSelector, org.apache.commons.lang3.mutable.MutableInt selectedCount) static SlotSelectortracking(org.apache.commons.lang3.mutable.MutableInt selectedCount) booleantrySelectSlot(ItemStack itemInSlot)
-
Field Details
-
ANY_SLOT
-
EMPTY_SLOTS
-
NON_EMPTY_SLOTS
-
-
Method Details
-
trySelectSlot
-
filter
-
limit
-
selecting
-
tracking
static SlotSelector tracking(SlotSelector slotSelector, org.apache.commons.lang3.mutable.MutableInt selectedCount) -
tracking
-