更新3.3

This commit is contained in:
boybook
2025-03-18 14:46:12 +08:00
parent e0e8ad3192
commit 481c844a80
11938 changed files with 149901 additions and 23781 deletions

View File

@@ -1,5 +1,5 @@
---
front:
front:
hard: 入门
time: 分钟
---
@@ -10,30 +10,21 @@ time: 分钟
自定义桶主要用于装载自定义流体,一般需配合自定义流体使用,使用后可以倒出指定的流体方块
## custom_item_type设置
- 自定义桶的**custom_item_type**需要设为**bucket**
## 注册
1. 与自定义基础物品的注册1-6步相同
2. 在behavior/netease_items_beh的json中设置custom_item_type为**bucket**
3. 添加自定义桶相关的定义,包括一个必填的**netease:bucket组件**,组件的参数见[json组件](#json组件)。注自定义桶的最大堆叠数为1无法通过max_stack_size进行修改
```json
{
"format_version": "1.10",
"minecraft:item": {
"description": {
"identifier": "customBucket:green_bucket",
"custom_item_type": "bucket",
"register_to_create_menu": true
"custom_item_type": "bucket"
},
"components": {
"netease:bucket": {
@@ -44,8 +35,6 @@ time: 分钟
}
```
## JSON组件
### 网易components
@@ -56,4 +45,4 @@ time: 分钟
| ----------- | ------ | --------------- | ---------------------------- |
| fill_liquid | string | "flowing_water" | 可选使用时倒出的流体方块id |
**注:该流体方块需为自定义流体的动态流体**
**注:该流体方块需为自定义流体的动态流体**