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