ItemCustomComponent
¶
文档版本:1.21.60.21
ItemCustomComponent
接口。script_api.minecraft/server.itemcustomcomponent.description
属性¶
onBeforeDurabilityDamage
onBeforeDurabilityDamage
:(ItemComponentBeforeDurabilityDamageEvent) => void
|undefined
- script_api.minecraft/server.itemcustomcomponent.onbeforedurabilitydamage.description
onCompleteUse
onCompleteUse
:(ItemComponentCompleteUseEvent) => void
|undefined
- script_api.minecraft/server.itemcustomcomponent.oncompleteuse.description
onConsume
onConsume
:(ItemComponentConsumeEvent) => void
|undefined
- script_api.minecraft/server.itemcustomcomponent.onconsume.description
onHitEntity
onHitEntity
:(ItemComponentHitEntityEvent) => void
|undefined
- script_api.minecraft/server.itemcustomcomponent.onhitentity.description
onMineBlock
onMineBlock
:(ItemComponentMineBlockEvent) => void
|undefined
- script_api.minecraft/server.itemcustomcomponent.onmineblock.description
onUse
onUse
:(ItemComponentUseEvent) => void
|undefined
- script_api.minecraft/server.itemcustomcomponent.onuse.description
onUseOn
onUseOn
:(ItemComponentUseOnEvent) => void
|undefined
- script_api.minecraft/server.itemcustomcomponent.onuseon.description