Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a "Monkey's Paw" item for my mod and one of the ways it "grants" wishes is by "spreading" blocks in an area.
Given the fact that the code for "spreading" blocks is the same and multiple "wishes" (currently wishing for diamonds and wishing for emeralds) have this effect, I decided to make another procedure for this. However, the procedure is not executing at all, as if the "Call procedure" block is being completely "ignored".
The code is executed when a button is clicked. The condition for wishing for "The ability to fly." works correctly, as does the one for "wishing" for anything else. This is the procedure for the click event:
This is the "SpreadBlocks" procedure that, for some reason, is being completely "ignored":
Can you please help me? How do I get the "Call procedure" block to actually work?