Added getter for Metadata smelting list, because, why not.. PR: #352
This commit is contained in:
parent
170585960b
commit
c523592522
1 changed files with 6 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
public ItemStack getSmeltingResult(int par1)
|
public ItemStack getSmeltingResult(int par1)
|
||||||
{
|
{
|
||||||
return (ItemStack)this.smeltingList.get(Integer.valueOf(par1));
|
return (ItemStack)this.smeltingList.get(Integer.valueOf(par1));
|
||||||
@@ -65,8 +71,58 @@
|
@@ -65,8 +71,63 @@
|
||||||
return this.smeltingList;
|
return this.smeltingList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,5 +85,10 @@
|
||||||
+ ret = ((Float)experienceList.get(item.itemID)).floatValue();
|
+ ret = ((Float)experienceList.get(item.itemID)).floatValue();
|
||||||
+ }
|
+ }
|
||||||
+ return (ret < 0 ? 0 : ret);
|
+ return (ret < 0 ? 0 : ret);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ public Map<List<Integer>, ItemStack> getMetaSmeltingList()
|
||||||
|
+ {
|
||||||
|
+ return metaSmeltingList;
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue