Package alexiil.mc.lib.attributes.item
Class SingleItemSlotView
java.lang.Object
alexiil.mc.lib.attributes.item.SingleItemSlotView
- Direct Known Subclasses:
SingleItemSlot
public class SingleItemSlotView
extends java.lang.Object
A delegating view of a single slot in a
FixedItemInvView
.-
Method Summary
Modifier and Type Method Description net.minecraft.item.ItemStack
get()
FixedItemInvView
getBackingInv()
ItemFilter
getFilter()
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
-