The question of procedure outputs

Started by Dilly on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The question of procedure outputs
Fri, 03/27/2026 - 09:34 (edited)

What should the procedure return so that it can be included in the block of additional conditions for setting the block?

I want to add setting requirements for crops.

Edited by Dilly on Fri, 03/27/2026 - 09:34
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If I'm understanding you…
Fri, 03/27/2026 - 09:40

If I'm understanding you correctly, it should return a Boolean, as the procedure determines whether you can place the block at a certain position.

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok. I thought it should be …
Fri, 03/27/2026 - 09:45

Ok. I thought it should be `actionresult`