block hardness

This commit is contained in:
jaredlll08 committed 2015-09-03 10:41:47 +02:00
1 parent b36c6dade6
commit eccf4d28c2
12 files changed
+415 -4

No files matched your search

@@ -80,6 +80,20 @@ 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
*
* @param hardness the new hardness
*/
@ZenSetter("hardness")
public void setBlockHardness(float hardness);
/**
* Gets the item damage. Returns 0 if the item cannot be damaged.