跳转至

EntityItemComponent

文档版本:1.21.60.21

EntityItemComponent类,扩展自EntityComponent。script_api.minecraft/server.entityitemcomponent.description

常量

componentId
static read-only componentId = "minecraft:item";

属性

itemStack
read-only itemStack: ItemStack;