random block replace glitch

Started by BlueHDGaming on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Nov 2020
Points:
613

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
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)

Active 3 years ago
Joined Nov 2018
Points:
978

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 571
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.