User Tools

Site Tools


tutorial:recipe_type

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:recipe_type [2021/02/17 02:22] themovieayttutorial:recipe_type [2021/08/29 18:18] – fixed missing bracket banana
Line 43: Line 43:
  @Override  @Override
  public void onInitialize() {    public void onInitialize() {  
-    //Wait i gotta take a break hold on..+    // Resuming later...
     }     }
 } }
Line 113: Line 113:
  @Override   @Override 
  public boolean matches(CraftingInventory inv, World world) {  public boolean matches(CraftingInventory inv, World world) {
- if(inv.getInvSize(0 < 2) return false;+ if(inv.getInvSize(0< 2) return false;
  return inputA.test(inventory.getInvStack(0)) && inputB.test(inventory.getInvStack(1));  return inputA.test(inventory.getInvStack(0)) && inputB.test(inventory.getInvStack(1));
  }  }
tutorial/recipe_type.txt · Last modified: 2021/12/01 11:46 by ayutac