Uses of Interface
alexiil.mc.lib.attributes.item.FixedItemInv
Package
Description
-
Uses of FixedItemInv in alexiil.mc.lib.attributes.item
Modifier and TypeInterfaceDescriptionstatic interface
The "complex" variant ofFixedItemInv
that always returns copies of the stack held.static interface
The "simpler" variant ofFixedItemInv
which allows callers to freely modify the currentItemStack
contained in it's inventory.interface
A type ofFixedItemInv
that wraps an existingFixedItemInv
and provides custom control over the actual modification of the wrappedFixedItemInv
.Modifier and TypeFieldDescriptionstatic final CombinableAttribute<FixedItemInv>
ItemAttributes.FIXED_INV
Modifier and TypeMethodDescriptiondefault FixedItemInv
LimitedFixedItemInv.asUnmodifiable()
SingleItemSlot.getBackingInv()
default FixedItemInv
FixedItemInv.getMappedInv
(int... slots) default FixedItemInv
FixedItemInv.getSubInv
(int fromIndex, int toIndex) Modifier and TypeMethodDescriptionstatic net.minecraft.item.ItemStack
ItemInvUtil.extractSingle
(FixedItemInv inv, int slot, ItemFilter filter, net.minecraft.item.ItemStack toAddWith, int maxAmount, Simulation simulation) Deprecated, for removal: This API element is subject to removal in a future version.static net.minecraft.item.ItemStack
ItemInvUtil.insertSingle
(FixedItemInv inv, int slot, net.minecraft.item.ItemStack toInsert, Simulation simulation) Deprecated, for removal: This API element is subject to removal in a future version.Because this has been moved toinsertStack(int, ItemStack, Simulation)
. -
Uses of FixedItemInv in alexiil.mc.lib.attributes.item.compat
Modifier and TypeFieldDescriptionprotected final FixedItemInv
InventoryFixedWrapper.inv
final FixedItemInv
SlotFixedItemInv.inv
Modifier and TypeMethodDescriptionstatic FixedItemInv
FixedSidedInventoryVanillaWrapper.create
(net.minecraft.inventory.SidedInventory inventory, net.minecraft.util.math.Direction side) ModifierConstructorDescriptionCreates aSidedInventoryFixedWrapper
with all of it's slots exposed in every direction.SidedInventoryFixedWrapper
(FixedItemInv inv, int[][] slotMap) SlotFixedItemInv
(net.minecraft.screen.ScreenHandler container, FixedItemInv inv, boolean server, int slotIndex, int x, int y) -
Uses of FixedItemInv in alexiil.mc.lib.attributes.item.impl
Modifier and TypeClassDescriptionclass
CombinedFixedItemInv<InvType extends FixedItemInv>
AnFixedItemInv
that delegates to a list of them instead of storing items directly.Modifier and TypeClassDescriptionclass
CombinedFixedItemInv<InvType extends FixedItemInv>
AnFixedItemInv
that delegates to a list of them instead of storing items directly.static class
CombinedFixedItemInv.OfCopying<InvType extends FixedItemInv.CopyingFixedItemInv>
static class
CombinedFixedItemInv.OfModifiable<InvType extends FixedItemInv.ModifiableFixedItemInv>
class
A simple delegate base class forFixedItemInv
.static class
static class
class
A simple implementation ofFixedItemInv.ModifiableFixedItemInv
that supports all of the features that the interface exposes.enum
AnFixedItemInv
with no slots.class
A simple, extendible, fixed size item inventory that supports all of the features thatFixedItemInv.CopyingFixedItemInv
exposes.class
static class
static class
class
Deprecated, for removal: This API element is subject to removal in a future version.You should use eitherDirectFixedItemInv
orFullFixedItemInv
instead of this!class
A simple implementation ofLimitedFixedItemInv
that makes no assumptions about the backingFixedItemInv
.static class
static class
class
static class
static class
Modifier and TypeMethodDescriptionstatic FixedItemInv
CombinedFixedItemInv.create
(List<? extends FixedItemInv> list) CombinedFixedItemInv.getMappedInv
(int... slots) MappedFixedItemInv.getMappedInv
(int... slots) SubFixedItemInv.getMappedInv
(int... slots) CombinedFixedItemInv.getSubInv
(int fromIndex, int toIndex) MappedFixedItemInv.getSubInv
(int fromIndex, int toIndex) SubFixedItemInv.getSubInv
(int fIndex, int tIndex) Modifier and TypeMethodDescriptionstatic MappedFixedItemInv
MappedFixedItemInv.create
(FixedItemInv inv, int[] slots) static SubFixedItemInv
SubFixedItemInv.create
(FixedItemInv inv, int fromIndex, int toIndex) static DelegatingFixedItemInv
DelegatingFixedItemInv.createDelegate
(FixedItemInv inv) static SimpleLimitedFixedItemInv
SimpleLimitedFixedItemInv.createLimited
(FixedItemInv inv) Modifier and TypeMethodDescriptionstatic FixedItemInv
CombinedFixedItemInv.create
(List<? extends FixedItemInv> list) ModifierConstructorDescriptionDelegatingFixedItemInv
(FixedItemInv delegate) MappedFixedItemInv
(FixedItemInv inv, int[] slots) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.SimpleLimitedFixedItemInv
(FixedItemInv delegate) SubFixedItemInv
(FixedItemInv inv, int fromIndex, int toIndex)
extractStack(int, ItemFilter, ItemStack, int, Simulation)
.