Possible Bug with Block Placing Procedures?

Started by TheCabbage on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Possible Bug with Block Placing Procedures?

Now, this may not be a bug and instead could be a result of my own mistakes, but I have not been able to uncover said mistake yet.  Currently I am attempting to make a block that rolls a random number between 0 and 1, if said number is less than or equal to 0.01, then it spawns a variant of a Small Amethyst Bud on top of itself.  This process continues similarly to Budding Amethyst in base Minecraft, until it reaches the final stage of the Amethyst Cluster.  This procedure has worked so far and I have not encountered any issues with the spawning of the Amethyst itself.  However, I am encountering issues when it comes to the breaking of the spawned Amethyst.  It seems like it is impossible to break, considering (even in creative mode) destroying the spawned block will just immediately reappear.  I know that this is NOT due to another Amethyst being spawned right as the other one is broken, as the sound that plays upon a new amethyst being placed does not play. 

 

Is this a bug, or is there something I can do to fix this?  I can provide video of exactly what I mean if that would be of any help.  Thanks!

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This sounds like a client…
Sat, 01/17/2026 - 13:36

This sounds like a client-server desynchronization (they happen a lot with randomization).

To fix it you can set the whole procedure to run on server-side only by putting it all in an if block with the condition: [Not[Is [Provided world] client-side]]