### 注意事项 | Notes:
此版本开始,插件只适用于1.20.6及以上版本,且旧版插件自带物品功能无法迁移到此版本 | Starting from this version, the plugin is only applicable to version 1.20.6 and above, and the item functions of the old plugin cannot be migrated to this version
### 更新内容 | Update Content
1. 适配1.20.6-1.21 | Completed compatibility with 1.20.6-1.21
2. 添加配方书类型功能,在shaped、shapeless以及cooking类型配方中可使用 | Added recipe book category, which can be used in shaped, shapeless and cooking type recipes
### 配方书类型功能详解 | Detailed explanation of recipe book category
1. 在shaped以及shapless配方中,配方类型可为building(建筑方块)、redstone(红石)、equipment(工具)和misc(物品)
2. 在cooking配方中,配方类型可为food(食物),blocks(方块)和misc(物品)
---
1. In shaped and shapless recipes, the recipe type can be building, redstone, equipment, and misc
2. In cooking recipes, the recipe type can be food, blocks, and misc
---
#### 配方书类型配置示例 | Configuration Example:
工作台配方 | Crafting Recipe:
```yaml
#配方的类型,一共有shaped(有序)、shapeless(无序)、cooking(烧炼)、smithing(锻造)、stone_cutting(切石机)、random_cooking(随机烧炼)
type: 'shaped'
result: 'diamond_sword'
multiple: true
shape:
- - 'aaa'
- 'bbb'
- 'ccc'
- - 'dd'
- 'ee'
source:
a: 'bedrock'
b: 'command_block'
c: 'diamond'
d: 'barrier'
e: 'chain_command_block'
unlock: true
sort_id: 1
category: building
```
烧炼配方 | Smelting Recipe:
```yaml
type: cooking
result: bedrock
multiple: true
source:
- block: furnace
item: command_block
exp: 20
time: 100
- block: smoker
item: command_block
- block: campfire
item: command_block
- block: blast_furnace
item: command_block
exp: 10
time: 200
category: blocks
```
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }