tutorial:recipe_type
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:recipe_type [2021/08/29 18:18] – fixed missing bracket banana | tutorial:recipe_type [2021/12/01 11:20] – corrected two compiler errors ayutac | ||
---|---|---|---|
Line 12: | Line 12: | ||
public class TestRecipeBlock extends Block { | public class TestRecipeBlock extends Block { | ||
private static final Text TITLE = new TranslatableText(" | private static final Text TITLE = new TranslatableText(" | ||
- | public | + | public |
super(settings); | super(settings); | ||
} | } | ||
Line 124: | Line 124: | ||
public class TestRecipe implements Recipe< | public class TestRecipe implements Recipe< | ||
//[...] | //[...] | ||
- | public static Type implements RecipeType< | + | public static |
private Type() {} | private Type() {} | ||
public static final Type INSTANCE = new Type(); | public static final Type INSTANCE = new Type(); |
tutorial/recipe_type.txt · Last modified: 2021/12/01 11:46 by ayutac