Custom Recipes 自定义配方
作者:Raymart
发布时间:2015年6月13日
原生版本:未知
测试支持:未知
创造你自己的食谱
点此下载插件详细介绍
🛠️ CustomRecipes
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: 定义合成形状。- 使用字母表示材料在合成网格中的位置。
- 每行代表合成网格的一行,必须是 3x3 的形状。
更多配置示例
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