random block replace glitch

Started by BlueHDGaming on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
random block replace glitch

I want to replace a block by another when rightclicked with a chance of 15%.

But sometimes (or very often) you can see the other block for a very short time and replacing instant to the block it was before.

How can I fix this glitch?

The procedure: file:///C:/Users/asbie/Desktop/Screenshot%20(3).png

 

(sry for my bad english, Im german)

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you are placing the block…
Sat, 11/21/2020 - 20:43

If you are placing the block you don't need to remove the block.

I don't see why your procedure shouldn't work though.