mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
Attempt to add maxStackSize
This commit is contained in:
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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user