Started by
Alex Khang
on
Topic category: Help with Minecraft modding (Java Edition)
To clarify: I am aware of existing Forum topics about this problem, including tutorials. Although I don't usually create procedures, I can only follow direct instructions (telling me which code block to use, or providing a screenshot).
Nonetheless, I created my procedure and logs stripped properly, but I couldn't place any blocks on it. Here's the screenshot: https://imgur.com/a/bVbHdCo
I believe the problem originates from the fact that I didn't distinguish between if a player is holding an axe or not, therefore making all actions of right-clicking on the log impossible.
If possible, please give me a screenshot of how you would do it to prevent this problem. Thank you!
Edited by Alex Khang on Fri, 06/06/2025 - 05:21
I'm guessing you have already found this tutorial:https://mcreator.net/forum/66392/how-make-your-blocks-strippable-without-code-and-able-place-blocks-it
As it says don't bind the procedure to your block use a global trigger and an if check to check if it is your block instead.
If you bind the procedure to your block's right click trigger, you can't place blocks on your custom block.
Thank you so much dude! I did come across the post while searching for how to strip logs, but then I forgot it exists :v