mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 06:53:24 +00:00
Added 'Grinding Balls' to the SAG Mill for > 2x ore output.
This commit is contained in:
1 parent
c1363bc2f3
commit
a726e382a2
25 files changed
+570
-69
No files matched your search
@@ -11,6 +11,13 @@ import cofh.api.transport.IItemConduit;
|
||||
|
||||
public class ItemUtil {
|
||||
|
||||
public static String getDurabilityString(ItemStack item) {
|
||||
if(item == null) {
|
||||
return null;
|
||||
}
|
||||
return Lang.localize("item.darkSteel.tooltip.durability") + " " + (item.getMaxDamage() - item.getItemDamage()) + "/" + item.getMaxDamage();
|
||||
}
|
||||
|
||||
public static int doInsertItem(Object into, ItemStack item, ForgeDirection side) {
|
||||
if(into == null || item == null) {
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user