Block Documentation - minecraft:on_player_destroyed
minecraft:on_player_destroyed
is an Event Trigger for when an entity, that is tagged as a player, destroys a block.
Parameters
minecraft:on_player_destroyed
can use the following parameters
Name | Default Value | Type | Description |
---|---|---|---|
condition | not set | String | The condition of event to be executed on the block. |
event | not set | String | The event executed on the block. |
target | self | String | The target of event executed on the block. |
Example
"minecraft:on_player_destroyed":{
"condition": "query.block_state(custom:state) == true", //custom condition
"event" : "this_is_my_block", //custom event
"target": "self"
}
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示