User Tools

Site Tools


zh_cn:tutorial:recipe_type

Differences

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

Link to this comparison view

zh_cn:tutorial:recipe_type [2023/01/12 04:39] – create translated page tao0luzh_cn:tutorial:recipe_type [2023/01/12 04:41] (current) – fix small errors tao0lu
Line 109: Line 109:
  
 在 ''matches'' 方法中,当物品栏中的原料和配方中的排列顺序和物品一致时,返回 true。 在 ''matches'' 方法中,当物品栏中的原料和配方中的排列顺序和物品一致时,返回 true。
-slot matches first and second input. 
 <code java TestRecipe.java> <code java TestRecipe.java>
 public class TestRecipe implements Recipe<CraftingInventory> { public class TestRecipe implements Recipe<CraftingInventory> {
zh_cn/tutorial/recipe_type.1673498350.txt.gz · Last modified: 2023/01/12 04:39 by tao0lu