完整版BedrockWiki镜像!

This commit is contained in:
boybook
2025-03-20 11:52:46 +08:00
parent 1994c41f01
commit bf9aa4b056
214 changed files with 9042 additions and 8867 deletions

View File

@@ -1,8 +1,8 @@
---
title: Vanilla Item Identifiers
category: Documentation
title: 原版物品标识符
category: 文档
tags:
- deprecated
- 已弃用
mentions:
- TheDoctor15
- Medicaljewel105
@@ -11,128 +11,131 @@ mentions:
- SmokeyStack
---
# 原版物品标识符
<!--@include: @/wiki/bedrock-wiki-mirror.md-->
:::danger
This method no longer works after 1.18.30.
该方法在 1.18.30 版本后已失效。
:::
An `identifier` is a required parameter that sits inside the description of the item's behaviour file.
It accepts Vanilla Minecraft names, like so, `<namespace>:<vanilla item>`, which will apply certain hardcoded item behaviours, depending on the identifier used.
`identifier`(标识符)是物品行为文件中必须填写的参数。它接受原版 Minecraft 的名称,格式为 `<命名空间>:<原版物品>`,这将根据使用的标识符应用某些硬编码的物品行为。
<CodeHeader>BP/items/custom_item.json#minecraft:item</CodeHeader>
```json
::: code-group
```json [BP/items/custom_item.json#minecraft:item]
"description": {
"identifier": "wiki:totem_of_undying",
"category": "items"
}
```
:::warning
Not every Vanilla Identifier and their behaviours are documented. The following list may be missing important points about the known Identifiers that do affect items.
Consider experimenting with them.
:::
## Known Identifier Effects
:::warning
并非所有原版标识符及其行为都有官方文档记录。以下列表可能遗漏了已知标识符的重要特性。
The namespace is allowed to be changed, learn more about namespaces [here](/concepts/namespaces).
建议自行实验测试。
:::
### namespace:banner
## 已知标识符效果
- The item icon and model will be changed to that of the Vanilla Banner.
允许修改命名空间,更多信息请参考[命名空间](/wiki/concepts/namespaces)。
### 命名空间:banner
- 物品图标和模型将变为原版旗帜的样式
---
### namespace:bow
### 命名空间:bow
- Adds a small increasing zoom on use, for the zoom to work it requires the item to be usable.
- 使用时会显示小幅放大效果(需要物品具有可使用属性才能生效)
---
### namespace:crossbow
### 命名空间:crossbow
- The item will be rotated horizontally on your arm.
- 物品在手臂上会保持水平旋转状态
---
### namespace:diamond
### 命名空间:diamond
- Is accepted as a valid item to change the effect given off by a Beacon.
- 可作为有效物品来更改信标发出的效果
---
### namespace:emerald
### 命名空间:emerald
- Is accepted as a valid item to change the effect given off by a Beacon.
- 可作为有效物品来更改信标发出的效果
---
### namespace:filled_map
### 命名空间:filled_map
- Will add the holding map animation.
- Can be put in a cartography table.
- 添加持地图动画
- 可放入制图台使用
---
### namespace:gold_ingot
### 命名空间:gold_ingot
- Is accepted as a valid item to change the effect given off by a Beacon.
- 可作为有效物品来更改信标发出的效果
---
### namespace:iron_ingot
### 命名空间:iron_ingot
- Is accepted as a valid item to change the effect given off by a Beacon.
- 可作为有效物品来更改信标发出的效果
---
### namespace:lapis_lazuli
### 命名空间:lapis_lazuli
- Makes the Item usable with Enchantment Tables, to enchant your items in place of Lapis Lazuli.
- 可在附魔台中替代青金石用于物品附魔
---
### namespace:lead
### 命名空间:lead
- Will behave like a Lead.
- 具备拴绳的牵引功能
---
### namespace:map
### 命名空间:map
- Will use the holding map animation.
- 使用持地图动画
---
### namespace:netherite_ingot
### 命名空间:netherite_ingot
- Is accepted in custom Smithing Recipes as the secondary item.
- Is accepted as a valid item to change the effect given off by a Beacon.
- 可作为锻造台配方中的次级材料
- 可作为有效物品来更改信标发出的效果
---
### namespace:shield
### 命名空间:shield
- The item icon will be permanently changed to that of the Vanilla Shield.
- Adds the shield animation and behavior.
- 物品图标将永久变为原版盾牌样式
- 添加盾牌动画和格挡功能
---
### namespace:spyglass
### 命名空间:spyglass
- Makes it zoom-able like a spyglass, for the zoom to work it requires the item to be usable.
- 具备望远镜缩放功能(需要物品具有可使用属性才能生效)
---
### namespace:skull
### 命名空间:skull
- The item icon will be changed to that of the Vanilla Skull.
- The item will be able to put on a armorstand and a player, the model and textures of the skull will be applied only then.
- 物品图标将变为原版头颅样式
- 可放置在盔甲架和玩家头部,此时会应用头颅的模型和材质
---
### namespace:totem_of_undying
### 命名空间:totem_of_undying
- Will behave like a Totem of Undying.
- 具备不死图腾的复活功能
---
---