Advertisement
Guest User

Untitled

a guest
Dec 27th, 2015
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.51 KB | None | 0 0
  1. @Override
  2.     public boolean matches(InventoryCrafting inventoryCrafting, World world) {
  3.         ItemStack itemStack = null;
  4.         ItemStack itemStack1 = null;
  5.  
  6.         for (int i = 0; i < inventoryCrafting.getSizeInventory();) {
  7.             ItemStack itemStack2 = inventoryCrafting.getStackInSlot(i);
  8.                 if (itemStack2 != null) {
  9.                     if (itemStack2.getItem() != ModItems.itemSaw) {
  10.                         return false;
  11.                     }
  12.                 }
  13.         }
  14.  
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement