random block replace glitch

Started by BlueHDGaming on

Topic category: Help with modding (Java Edition)

Last seen on 15:09, 21. Nov 2020
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)

Last seen on 14:43, 2. Aug 2022
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.