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
Last revisionBoth sides next revision
tutorial:recipe_type [2021/12/01 11:34] – corrected three more compiler errors ayutactutorial:recipe_type [2021/12/01 11:36] – added fits implementation as the text suggested ayutac
Line 102: Line 102:
  public ItemStack craft(CraftingInventory inv) {  public ItemStack craft(CraftingInventory inv) {
  return this.getOutput().copy();  return this.getOutput().copy();
 + }
 +
 + @Override
 + public boolean fits(int width, int height) {
 + return true;
  }  }
 } }
tutorial/recipe_type.txt · Last modified: 2021/12/01 11:46 by ayutac