Package alexiil.mc.lib.attributes.item
Class SingleItemSlotView
java.lang.Object
alexiil.mc.lib.attributes.item.SingleItemSlotView
- Direct Known Subclasses:
SingleItemSlot
A delegating view of a single slot in a
FixedItemInvView
.-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.item.ItemStack
get()
int
getIndex()
int
getMaxAmount(net.minecraft.item.ItemStack stack)
boolean
isValid(net.minecraft.item.ItemStack stack)
-
Method Details
-
getBackingInv
-
getIndex
public final int getIndex() -
get
public final net.minecraft.item.ItemStack get() -
getMaxAmount
public final int getMaxAmount(net.minecraft.item.ItemStack stack) -
isValid
public final boolean isValid(net.minecraft.item.ItemStack stack) -
getFilter
-