Started by
Trionsarte
on
Topic category: Help with Minecraft modding (Java Edition)
Hello!
I'm currently working on a mod, and for one of its main components I need a certain block to drop an item when left clicked. Can anybody please explain how to do this?
I know it has something to do with procedures, I just can't figure out what do I need the procedure to do.
When player left click on block :
If is get block at x y z the same block as "your block"
do : spawn "your item" at x y z
ofter 2 items are dropped due to the click lasting more than 1 click