random block replace glitch

Started by BlueHDGaming on Sat, 11/21/2020 - 15:05

Topic category: Help with modding (Java Edition)

Last seen on 15:09, 21. Nov 2020
Joined Nov 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
random block replace glitch
Sat, 11/21/2020 - 15:05

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 11:11, 26. Jan 2021
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.