EntityInventoryComponent
¶
文档版本:1.21.60.21
EntityInventoryComponent
类,扩展自IEntityComponent
。script_api.mojang-minecraft.entityinventorycomponent.description
属性¶
additionalSlotsPerStrength
additionalSlotsPerStrength
:int32
- script_api.mojang-minecraft.entityinventorycomponent.additionalslotsperstrength.description
canBeSiphonedFrom
canBeSiphonedFrom
:boolean
- script_api.mojang-minecraft.entityinventorycomponent.canbesiphonedfrom.description
container
container
:InventoryComponentContainer
- script_api.mojang-minecraft.entityinventorycomponent.container.description
containerType
containerType
:string
- script_api.mojang-minecraft.entityinventorycomponent.containertype.description
inventorySize
inventorySize
:int32
- script_api.mojang-minecraft.entityinventorycomponent.inventorysize.description
private
private
:boolean
- script_api.mojang-minecraft.entityinventorycomponent.private.description
restrictToOwner
restrictToOwner
:boolean
- script_api.mojang-minecraft.entityinventorycomponent.restricttoowner.description