For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/enums/ItemComponentTypes.md.

Enumeration: ItemComponentTypes

component

Beta

可通过 ItemStack.getComponent 函数访问的物品组件类型。

The types of item components that are accessible via function ItemStack.getComponent.

Enumeration Members

BlockDynamicProperties

实验性

BlockDynamicProperties: "minecraft:block_actor_dynamic_properties"

Beta


Book

Book: "minecraft:book"

Beta

Remarks

minecraft:book 组件。

The minecraft:book component.


Compostable

Compostable: "minecraft:compostable"

Beta


Cooldown

Cooldown: "minecraft:cooldown"

Beta

Remarks

minecraft:cooldown 组件。

The minecraft:cooldown component.


Durability

Durability: "minecraft:durability"

Beta

Remarks

minecraft:durability 组件。

The minecraft:durability component.


Dyeable

Dyeable: "minecraft:dyeable"

Beta


Enchantable

Enchantable: "minecraft:enchantable"

Beta

Remarks

minecraft:enchantable 组件。

The minecraft:enchantable component.


Food

Food: "minecraft:food"

Beta

Remarks

minecraft:food 组件。

The minecraft:food component.


Inventory

Inventory: "minecraft:inventory"

Beta


Potion

Potion: "minecraft:potion"

Beta

同领域相关