EntityInventoryComponent
¶
文档版本:1.21.60.21
EntityInventoryComponent
类,扩展自EntityComponent
。script_api.minecraft/server.entityinventorycomponent.description
常量¶
componentId
属性¶
additionalSlotsPerStrength
additionalSlotsPerStrength
:int32
- script_api.minecraft/server.entityinventorycomponent.additionalslotsperstrength.description
canBeSiphonedFrom
canBeSiphonedFrom
:boolean
- script_api.minecraft/server.entityinventorycomponent.canbesiphonedfrom.description
container
container
:Container
|undefined
- script_api.minecraft/server.entityinventorycomponent.container.description
containerType
containerType
:string
- script_api.minecraft/server.entityinventorycomponent.containertype.description
inventorySize
inventorySize
:int32
- script_api.minecraft/server.entityinventorycomponent.inventorysize.description
private
private
:boolean
- script_api.minecraft/server.entityinventorycomponent.private.description
restrictToOwner
restrictToOwner
:boolean
- script_api.minecraft/server.entityinventorycomponent.restricttoowner.description