ko_kr:tutorial:recipe_type
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ko_kr:tutorial:recipe_type [2021/02/17 13:55] – [Creating the Shaped Recipe Class] namutree0345 | ko_kr:tutorial:recipe_type [2021/03/01 05:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 49: | Line 49: | ||
==== 모양이 있는 레시피 클래스 생성 ==== | ==== 모양이 있는 레시피 클래스 생성 ==== | ||
모양이 있는 레시피는 특정 슬롯이나 패턴에 아이템이 있어야 하는 레시피 유형입니다. 그것은 제작대 레시피같은 그리드 방식의 레시피에 대부분 사용됩니다. | 모양이 있는 레시피는 특정 슬롯이나 패턴에 아이템이 있어야 하는 레시피 유형입니다. 그것은 제작대 레시피같은 그리드 방식의 레시피에 대부분 사용됩니다. | ||
- | // 자러감 | + | |
Recipe 인터페이스에서는 Inventory 클래스를 형식 매개 변수로 사용합니다. 어떤 레시피를 위해 인벤토리Any inventory that contains the ingredients | Recipe 인터페이스에서는 Inventory 클래스를 형식 매개 변수로 사용합니다. 어떤 레시피를 위해 인벤토리Any inventory that contains the ingredients | ||
for the recipe would work. But we will be using CraftingInventory. | for the recipe would work. But we will be using CraftingInventory. | ||
Line 55: | Line 55: | ||
public class TestRecipe implements Recipe< | public class TestRecipe implements Recipe< | ||
// | // | ||
- | // | + | // |
//위에 문장 이상하면 고쳐주세요. 원문: It is important to always use Ingredient, so you can support tags. | //위에 문장 이상하면 고쳐주세요. 원문: It is important to always use Ingredient, so you can support tags. | ||
private final Ingredient inputA; | private final Ingredient inputA; |
ko_kr/tutorial/recipe_type.1613570129.txt.gz · Last modified: 2021/02/17 13:55 by namutree0345