跳转至

EntityItemComponent

文档版本:1.21.0.24

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

常量

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

属性

itemStack
read-only itemStack: ItemStack;