public interface IAEItemStack extends IAEStack<IAEItemStack>
You may hold on to these if you want, just make sure you let go of them when your not using them.
Don't Implement.
Construct with Util.createItemStack( ItemStack )
Modifier and Type | Method and Description |
---|---|
void |
add(IAEItemStack option)
Combines two IAEItemStacks via addition.
|
IAEItemStack |
copy()
create a AE Item clone
|
net.minecraft.item.Item |
getItem()
quick way to get access to the MC Item Definition.
|
int |
getItemDamage() |
net.minecraft.item.ItemStack |
getItemStack()
creates a standard MC ItemStack for the item.
|
boolean |
hasTagCompound()
is there NBT Data for this item?
|
boolean |
isSameType(IAEItemStack otherStack)
compare the item/damage/nbt of the stack.
|
boolean |
isSameType(net.minecraft.item.ItemStack stored)
compare the item/damage/nbt of the stack.
|
boolean |
sameOre(IAEItemStack is)
Compare the Ore Dictionary ID for this to another item.
|
decCountRequestable, decStackSize, empty, equals, fuzzyComparison, getChannel, getCountRequestable, getStackSize, getTagCompound, incCountRequestable, incStackSize, isCraftable, isFluid, isItem, isMeaningful, reset, setCountRequestable, setCraftable, setStackSize, writeToNBT, writeToPacket
net.minecraft.item.ItemStack getItemStack()
boolean hasTagCompound()
void add(IAEItemStack option)
add
in interface IAEStack<IAEItemStack>
option
- to add to the current one.IAEItemStack copy()
copy
in interface IAEStack<IAEItemStack>
net.minecraft.item.Item getItem()
int getItemDamage()
boolean sameOre(IAEItemStack is)
boolean isSameType(IAEItemStack otherStack)
otherStack
- to be compared itemboolean isSameType(net.minecraft.item.ItemStack stored)
stored
- to be compared item