New effect component that triggers when a block is right clicked. "click_block" would function like hit_block, it would trigger from the player located at the centre of the targeted block.
This would allow for parity with Bedrock in how fire aspect works when clicking on campfires, candles, and TNT. It would also allow datapack creators to have proper right click detection for blocks without relying on raycasting.
It might also be useful to make other block interactions like making farmland, making dirt paths, and stripping logs more data driven. Other right click functionality would be easier to add to the game, whether for tools or other items. All right click functionality on blocks, even things like using glow ink on signs could be captured by this effect component.
Please sign in to leave a comment.
0 Comments