You can now use the new "placeBlock" action when a player right-clicks a block or left-clicks a block to mimic block placing for unplaceable items!
Code (YAML):
# Place a diamond block on the block the player right-clicks
# with this item!
handlers :
rightClickBlock
:
-
action
: placeBlock
type
:
"minecraft:DIAMOND_BLOCK"