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