Started by
pixelbank
on
Topic category: Help with modding (Java Edition)
I have a trapdoor which I want to replace with a right click if an axe is in the main hand - think of it like scraping copper blocks but for trapdoors
I've used a global procedure, that works just fine with regular blocks. But when I right click the trapdoor, it does not replace the block and instead opens/closes it. Is there a way to override the open/close states?
Here's an image of the procedure https://imgur.com/stNsKlv
Any help is much appreciated, I've been around the block several times with this and can't figure it out
Thanks
You could probably fix the issue by just shifting and right clicking, or adding a condition that the player must be shifting as well to trigger the procedure.
@TZO_Ghoul Yes! it absolutely works when the player shift clicks, just a shame I can't override the right click as it's pretty annoying when you forget to shift