BlockCustomComponent¶
 文档版本:1.21.60.21
BlockCustomComponent接口。script_api.minecraft/server.blockcustomcomponent.description
属性¶
beforeOnPlayerPlace
beforeOnPlayerPlace:(BlockComponentPlayerPlaceBeforeEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.beforeonplayerplace.description
 
onEntityFallOn
onEntityFallOn:(BlockComponentEntityFallOnEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.onentityfallon.description
 
onPlace
onPlace:(BlockComponentOnPlaceEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.onplace.description
 
onPlayerDestroy
onPlayerDestroy:(BlockComponentPlayerDestroyEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.onplayerdestroy.description
 
onPlayerInteract
onPlayerInteract:(BlockComponentPlayerInteractEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.onplayerinteract.description
 
onRandomTick
onRandomTick:(BlockComponentRandomTickEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.onrandomtick.description
 
onStepOff
onStepOff:(BlockComponentStepOffEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.onstepoff.description
 
onStepOn
onStepOn:(BlockComponentStepOnEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.onstepon.description
 
onTick
onTick:(BlockComponentTickEvent) => void|undefined- script_api.minecraft/server.blockcustomcomponent.ontick.description