Update forge, add max damage

This commit is contained in:
jaredlll08 committed 2015-09-21 00:30:16 +02:00
1 parent 0bb0dfb16a
commit 9bb25aee66
5 files changed
+101 -24

No files matched your search

@@ -80,13 +80,13 @@ public interface IItemStack extends IIngredient {
*/
@ZenSetter("maxStackSize")
public void setMaxStackSize(int size);
/**
* Gets the block hardness
*/
@ZenGetter("hardness")
public float getBlockHardness();
/**
* Sets the block hardness
*
@@ -111,6 +111,14 @@ public interface IItemStack extends IIngredient {
@ZenGetter("maxDamage")
public int getMaxDamage();
/**
* Sets the max Itemstack damage
*
* @param damage the new max damage
*/
@ZenSetter("maxDamage")
public void setMaxDamage(int damage);
/**
* Gets the item tag. (NBT data) The resulting data is immutable and can
* only be changed with updateTag. Returns empty data if there is no data.