Skip to content

Block click

toxicity188 edited this page Sep 26, 2023 · 1 revision

Be called when player clicks some block.

argument

argument aliases type description
type t material the type of the broken block
location loc,l string the location of the broken block formatted as "x,y,z"
world w string the world of the broken block
held h string the yaml key of player's handheld item

usage

- blockclick{loc="0,0,0",w="world",t=stone,h=cool_item}

Clone this wiki locally