User Tools

Site Tools


zh_cn:tutorial:dynamic_recipe_generation

Differences

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

Link to this comparison view

Next revision
Previous revision
zh_cn:tutorial:dynamic_recipe_generation [2021/07/26 01:28] – created solidblockzh_cn:tutorial:dynamic_recipe_generation [2022/08/18 02:49] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +DELETEME // 本页已被 Fabric Data Generation API 教程取代,[[datagen_recipe|请参见此处]]。//
 ====== 动态配方生成 ====== ====== 动态配方生成 ======
  
Line 87: Line 88:
                         '#',                         '#',
                         '|'                         '|'
-                    ), //The keys we are using for the input items/tags. +                    ), //我们用于输入物品/标签的键。 
-                    Lists.newArrayList(new Identifier("c", "copper_ingots"), new Identifier("stick")), //The items/tags we are using as input.+                    Lists.newArrayList(new Identifier("c", "copper_ingots"), new Identifier("stick")), //我们用于输入的物品/标签。
                     Lists.newArrayList("tag", "item"), //Whether the input we provided is a tag or an item.                     Lists.newArrayList("tag", "item"), //Whether the input we provided is a tag or an item.
                     Lists.newArrayList(                     Lists.newArrayList(
Line 94: Line 95:
                         " | ",                         " | ",
                         " | "                         " | "
-                    ), //The crafting pattern. +                    ), //合成图案。 
-                    new Identifier("examplemod:copper_pickaxe") //The crafting output+                    new Identifier("examplemod:copper_pickaxe") //合成输出
                 );                 );
             }             }
zh_cn/tutorial/dynamic_recipe_generation.1627262919.txt.gz · Last modified: 2021/07/26 01:28 by solidblock