21222324252627
if(itemStack == null || !(itemStack.getItem() instanceof ItemBlock)) { return false; } return new OreDictFinder(oreDictName).modifies(itemStack); }
23242526272829
if(itemStack == null) { return false; } return new OreDictFinder(oreDictName).modifies(itemStack); }
29303132333435
} @Override public InvStack getStackFromInventory(IInventory inv, ForgeDirection side) { return InventoryUtils.takeTopStack(inv, side.ordinal(), new OreDictFinder(oreDictName)); }