Uses of Interface
alexiil.mc.lib.attributes.item.LimitedFixedItemInv.ItemSlotLimitRule
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes.item |
The base package for
item management attributes. |
| alexiil.mc.lib.attributes.item.impl |
-
Uses of LimitedFixedItemInv.ItemSlotLimitRule in alexiil.mc.lib.attributes.item
Methods in alexiil.mc.lib.attributes.item that return LimitedFixedItemInv.ItemSlotLimitRule Modifier and Type Method Description default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. allowExtraction()Stops disallowing extraction of items.default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. allowInsertion()Stops disallowing insertion of items by setting thelimitInsertionCount(int)to 64.default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. disallowExtraction()Completely disallows extraction of items.default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. disallowInsertion()Completely disallows inserting items by setting thelimitInsertionCount(int)to 0.LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. filterExtracts(ItemFilter filter)Filters all extractions with the given filter in addition to whatever filters are already present.LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. filterInserts(ItemFilter filter)Filters all insertions with the given filter in addition to whatever filters are already present.default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv. getAllRule()LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv. getRule(int slot)LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv. getSubRule(int from, int to)LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. limitInsertionCount(int max)Limits the number of items that can be inserted (in total) to the given count.default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. noExtractionFilter()Removes the currentextraction filter.default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. noInsertionFilter()Removes the currentinsertion filter.default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. noInsertionLimits()Deprecated.Because this is ambiguous as the name could refer to the count, or the filter, so instead you should usenoInsertionFilter().default LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. reset()Clears all limitations for this current rule.LimitedFixedItemInv.ItemSlotLimitRuleLimitedFixedItemInv.ItemSlotLimitRule. setMinimum(int min)Limits the number of items that can be extracted to ensure that this slot cannot have an amount that goes below the given value. -
Uses of LimitedFixedItemInv.ItemSlotLimitRule in alexiil.mc.lib.attributes.item.impl
Methods in alexiil.mc.lib.attributes.item.impl that return LimitedFixedItemInv.ItemSlotLimitRule Modifier and Type Method Description LimitedFixedItemInv.ItemSlotLimitRuleSimpleLimitedFixedItemInv. getRule(int slot)LimitedFixedItemInv.ItemSlotLimitRuleSimpleLimitedFixedItemInv. getSubRule(int from, int to)