Started by
dffdgamer
on
Topic category: Help with Minecraft modding (Java Edition)
I want to replace a block with another block with an item in hand and right click.pls help me.
thanks.
Topic category: Help with Minecraft modding (Java Edition)
I want to replace a block with another block with an item in hand and right click.pls help me.
thanks.
Why did you created a new topic page? I already answered your question!
Global trigger : When player right clicks block
Procedure :
IF (block at x y z = YOUR_BLOCK) AND (item in event/target entity's main hand = YOUR_ITEM)
DO replace block at x y z by YOUR_OTHER_BLOCK
photo? pls
No longer necessary, THANK YOU VERY MUCH
I tried that but you cant place another block on top of the block with that code, so when building, you have to shift click.
Is it possible to get a photo of the workspace? I'm new to the program and I can't seem to figure out which buttons I need to stack to get this sort of workflow. Thanks for any help!