Class FixedSidedInventoryVanillaWrapper
java.lang.Object
alexiil.mc.lib.attributes.item.compat.FixedInventoryViewVanillaWrapper
alexiil.mc.lib.attributes.item.compat.FixedInventoryVanillaWrapper
alexiil.mc.lib.attributes.item.compat.FixedSidedInventoryVanillaWrapper
- All Implemented Interfaces:
Convertible
,AbstractItemInvView
,FixedItemInv
,FixedItemInv.ModifiableFixedItemInv
,FixedItemInvView
,OpenWrapper
-
Nested Class Summary
Nested classes/interfaces inherited from interface alexiil.mc.lib.attributes.item.AbstractItemInvView
AbstractItemInvView.DefaultChangeTracker
Nested classes/interfaces inherited from interface alexiil.mc.lib.attributes.item.FixedItemInv
FixedItemInv.CopyingFixedItemInv, FixedItemInv.ModifiableFixedItemInv
-
Field Summary
Fields inherited from class alexiil.mc.lib.attributes.item.compat.FixedInventoryViewVanillaWrapper
inv
-
Constructor Summary
ConstructorDescriptionFixedSidedInventoryVanillaWrapper
(net.minecraft.inventory.SidedInventory inv, net.minecraft.util.math.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canExtract
(int slot, net.minecraft.item.ItemStack extractedStack) protected boolean
canInsert
(int slot, net.minecraft.item.ItemStack newStack) static FixedItemInv
create
(net.minecraft.inventory.SidedInventory inventory, net.minecraft.util.math.Direction side) Methods inherited from class alexiil.mc.lib.attributes.item.compat.FixedInventoryVanillaWrapper
addListener, markDirty, setInvStack
Methods inherited from class alexiil.mc.lib.attributes.item.compat.FixedInventoryViewVanillaWrapper
getInvStack, getMaxAmount, getSlotCount, getWrapped, isItemValidForSlot, wrapInventory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface alexiil.mc.lib.attributes.item.AbstractItemInvView
getChangeValue
Methods inherited from interface alexiil.mc.lib.attributes.item.FixedItemInv
createLimitedFixedInv, extractStack, forceSetInvStack, getExtractable, getGroupedInv, getInsertable, getMappedInv, getSlot, getSubInv, getTransferable, insertStack, modifySlot, slotIterable
Methods inherited from interface alexiil.mc.lib.attributes.item.FixedItemInv.ModifiableFixedItemInv
getFilterForSlot, getInvStack, isItemValidForSlot
Methods inherited from interface alexiil.mc.lib.attributes.item.FixedItemInvView
convertTo, getFixedView, getMaxAmount, getSlotCount, offerSelfAsAttribute, stackIterable
-
Constructor Details
-
FixedSidedInventoryVanillaWrapper
public FixedSidedInventoryVanillaWrapper(net.minecraft.inventory.SidedInventory inv, net.minecraft.util.math.Direction side)
-
-
Method Details
-
create
public static FixedItemInv create(net.minecraft.inventory.SidedInventory inventory, net.minecraft.util.math.Direction side) -
canExtract
protected boolean canExtract(int slot, net.minecraft.item.ItemStack extractedStack) - Overrides:
canExtract
in classFixedInventoryVanillaWrapper
-
canInsert
protected boolean canInsert(int slot, net.minecraft.item.ItemStack newStack) - Overrides:
canInsert
in classFixedInventoryVanillaWrapper
-