Attempt to add maxStackSize

This commit is contained in:
jaredlll08 committed 2015-08-31 15:34:17 +02:00
1 parent c0dbda6874
commit fd17ded261
7 files changed
+159 -68

No files matched your search

@@ -65,6 +65,22 @@ public interface IItemStack extends IIngredient {
@ZenSetter("displayName")
public void setDisplayName(String name);
/**
* Gets the max stack size for an item
*
* @return int max stack size
*/
@ZenGetter
public int getMaxStackSize();
/**
* Sets the ItemStack max stack size.
*
* @param size the new max size
*/
@ZenSetter("maxStackSize")
public void setMaxStackSize(int size);
/**
* Gets the item damage. Returns 0 if the item cannot be damaged.
*