Generated blocks don't follow procedure

Started by Gerhard on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Generated blocks don't follow procedure

So I made a 1x1x1 structure made of a block which has no particular use. Whenever this structure spawns in my world, I want a procedure to happen. The procedure is: the block changes in a custom tree structure I made. To do this I add a procedure to the block that triggers when the block is added to the world.

However it does not work properly. When the 1x1x1 structure, made of that 1 block, spawns in my world, it doesn't follow the procedure, thus doesn't change in a custom tree structure. But when I place the block manually, it does change the block to the tree structure.

Anyone knows what is going on and how to fix it?

Mcreator version: 2020.1

Minecraft version: 1.16.5

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Idk what's happening, but…
Thu, 06/03/2021 - 17:53

Idk what's happening, but you have two solutions to this:

 -Replace the 1x1x1 structure by your tree, directly

 -Make the procedure execute on "On structure instance generated", not when the block is generated