Custom Recipes 自定义配方 | |
---|---|
![]() |
创造你自己的食谱 |
作 者 | Raymart |
发布时间 | 2015年6月13日 |
支持核心 | Spigot | 原生版本 |
支持版本 | |
插件详细介绍
CustomRecipes 允许服务器管理员自定义游戏内的合成配方。你可以使用此插件创建新的合成配方,或修改现有的配方,为玩家提供独特的游戏体验。插件目前由 @Lifeonblack 接手更新,敬请期待新的版本。
/customrecipes reload
- 重载配置文件。customrecipes.reload
- 允许玩家使用 /customrecipes reload
指令。每个配方都包含以下几个部分:
recipe_name
: 配方的名称,用于在游戏中标识该配方。result
: 合成的结果,包括物品 ID 和数量。ingredients
: 合成所需的材料,以及材料在合成网格中的位置。
recipes:
example_recipe:
result:
item: dirt
amount: 64
ingredients:
A:
item: stone
B:
item: log
C:
item: leaves
shape:
- "AAA"
- "BCB"
- "AAA"
result
: 定义合成产物。
item
: 物品的英文ID。amount
(可选): 产出数量,默认为 1。ingredients
: 定义合成材料。
item
: 物品的英文ID。shape
: 定义合成形状。
recipes:
explosive_pickaxe: #Recipe name
result: #what the player gets
item: diamond_pickaxe
amount: 1
enchantments: #This is optional, you dont need this
- efficiency,5
- unbreaking,3
name: "&bExplosive Pickaxe" #Item display name
lore: #item lore
- "&aMined ores explodes"
- "&aOP"
flags: #remove all vanilla flags like hide enchantment
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
- HIDE_UNBREAKABLE
- HIDE_PLACED_ON
- HIDE_POTION_EFFECTS
- HIDE_DYE
ingredients: #ingredients to craft
A:
item: tnt
B:
item: diamond_pickaxe
shape:
- " A "
- " B "
- " "
recipes:
custom_wood: #Recipe name
result: #what the player gets
item: oak_wood
amount: 16
name: "&bCustom Wood" #Item display name
lore: #item lore
- "&aCustom Wood"
- "&aOP"
flags: #remove all vanilla flags like hide enchantment
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
- HIDE_UNBREAKABLE
- HIDE_PLACED_ON
- HIDE_POTION_EFFECTS
- HIDE_DYE
ingredients: #ingredients to craft
A:
item: oak_log
shape:
- "AA "
- "AA "
- " "
感谢 DoppelRR 和 Raymart 对 CustomRecipes 项目的贡献。
感谢 WormKid109 提供的视频和截图。 订阅他的频道:WormKid109 YouTube