- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
Magic/Crafting:修订间差异
跳转到导航
跳转到搜索
(创建页面,内容为“Magic can add custom crafting recipes for wands or magic items. The default recipes provided in the survival configs can be seen here: [http://magic.elmakers.com/#c…”) |
无编辑摘要 |
||
第1行: | 第1行: | ||
Magic | Magic 可以添加自定义合成配方以合成法杖或魔法物品 | ||
默认的生存配方可以在这里找到: [http://magic.elmakers.com/#crafting Crafting Recipes] | |||
配方的配置可以在这里找到: [https://github.com/elBukkit/MagicPlugin/tree/master/Magic/src/main/resources/examples/survival/crafting 生存配方配置] | |||
== | == 知识之书 == | ||
你可以创建知识之书 (1.13+) ,它可以包含一或多个配方 | |||
<code>/mgive recipe:wand</code> 可以给予一个包含法杖配方的书<br /> | |||
<code>/mgive recipe:*</code> 则可以给予一个包含全部配方的书 | |||
When used by a player, the recipes will be added to their crafting book. | When used by a player, the recipes will be added to their crafting book. | ||
2021年5月31日 (一) 15:50的版本
Magic 可以添加自定义合成配方以合成法杖或魔法物品
默认的生存配方可以在这里找到: Crafting Recipes
配方的配置可以在这里找到: 生存配方配置
知识之书
你可以创建知识之书 (1.13+) ,它可以包含一或多个配方
/mgive recipe:wand
可以给予一个包含法杖配方的书
/mgive recipe:*
则可以给予一个包含全部配方的书
When used by a player, the recipes will be added to their crafting book.
Modifying recipes
Modified recipes go in crafting.yml or in the crafting folder. First look at the recipe you want to change, then copy the part you want to change into your config files and modify it.
Recipes may require a complete server restart to take effect, though you may try /magic load
first.
Custom Recipes
As always, looking at one of the default configs is the best way to learn how to make your own.
Take the default wand recipe, for instance:
# This is a unique name for this recipe wand: # This defines the recipe output, this can be wand,item,spell or brush output_type: wand # This defines the item that will be crafted, this will be a wand, item or spell key # depending on the output type output: wand # This defines the materials that will be required to craft this wand materials: o: nether_star i: blaze_rod # This defines the shape of the recipe, row_1 is the top. Each row may # have up to 3 characters that map to the materials listed above. row_1: o row_2: i row_3: