The bug
Insta-mining blocks (e.g. dirt with an efficiency 5 diamond shovel) occasionally leaves behind ghost blocks, of which there still is a server-side hitbox but the client counts it as already dug.
This happens quite often - just going around like this produces one mismatched block every few seconds.
As I cannot reproduce this in any pre-release prior to pre4 (so I can from pre4 and upwards), I believe this is related to the new packet/fix for MC-156013.
How to reproduce
See the attached video, reproducing the bug in a freshly created singleplayer world (I also waited for generation to calm down before starting to dig).
Related issues
is duplicated by
relates to
Attachments
Comments


This has been a bug in the game for as long as I can remember. Happens also when using a Eff 5 pick with Haste 2 on stone type blocks
That's probably another cause, then. I cannot reproduce the cause/issue I'm referring to in pre3, so this in particular should be a new one.

Can confirm this is in 1.14.4 as well. Yesterday (1.14.3) I was clearing a large area of dirt with an Efficiency V Diamond shovel and didn't have any problems. Just now after updating to 1.14.4, I'm clearing the same area with the same shovel and every 15 blocks or so I get stuck in a ghost block and have to log out and back in to get out of it. This was definitely not in 1.14.3. I should also mention, this is on a server.

Can confirm on 1.14.4 paper.
Bugs should be tested on vanilla servers and clients, just to note.
(Though yes, it's been tested on both of those)

Can confirm, happens every time i insta mine to ~1 in 20 blocks.
To add: (in singleplayer at least)
The 'ghost blocks' get replaced by actual blocks when relogging.
Placing a block where the 'ghost blocks' are will consume the held block and place the block that used to be there instead
Can be triggered by instamining individual blocks.
Items are not dropped when a block becomes a 'ghost block'

I started to get this bug in the nether in 1.14.4.pr6. Never had it before that.

Can confirm on 1.14.4 vanilla. Didn't happen on 1.14.3

Can confirm for finished Version 1.14.4: possibily for any stone block mined with an diamndpickaxe with efficiency 5 and the Haste 2 effect from a beacon.

Also chiming in to confirm I'm seeing this on 1.14.4 where-as it was previously resolved.
Would hate to see another 1.14 release, but this is worthy of 1.14.5 for sure.

Can also confirm on vanilla 1.14.4. Efficiency 5 pick with haste 2. Very annoying.

Can confirm. 1.14.4 Pick with Efficiency 5 mining ice.

Can confirm this too. Used a Efficiency 5 shovel on dirt.

I found a solution. The patch is here. https://github.com/PaperMC/Paper/pull/2396/files
I used the same fix as MC-5694.
I have only tested this on [Paper | https://papermc.io] but I expect this will work on vanilla Minecraft as well.

Does that fix keep the fix for the "get nudged to the side when mining down a tower while having lag" bug? Slicedlime said that fixing that bug reintroduced this one.

Even if it doesn't ghost block are a lot more annoying and more frequent, I wish we get 1.14.5 just for fixing ghost block.

Mojang prioritised this one. And that bug can cause you to do, this one just annoys you a bit until you reload the world.

Will we have to wait until 1.15 to get a fix?

The latest server version form papermc.io already has this patched. For those of you looking for a fix now.
Again the code fix is here. https://github.com/PaperMC/Paper/pull/2396/files
(Full disclosure, yes I patched it.)
@unknown, I'm curious: Does the fix that you implemented for Paper re-introduce MC-156013? Have you tested that?

Under lag (~100ms) this does seem to re-add MC-156013. It does not seem to have a problem under normal conditions however.

Ghost blocks were accepted knowingly to fix MC-156013. And I agree with that, I definitely prefer having to relog over potentially falling to my death.

I dont agree, i dont pillar up enough times as the times I instamine. I have bad experiences with both, but ghost blocks is the worst offender here.
I rarely have any latency issues, but I can bet than anyone with them would prefer having ghost blocks than to just die when digging down a tower.
... though eitherway, discussing this won't really solve anything, Mojang will have to make a fix that covers both in the next update anyways. 👀

Why are you pillaring anyway when scaffold blocks exist?
Relogging every 15 seconds is infinitely more annoying than dying on the rare time you pillar for whatever reason.

Because bamboo jungles are rare. Anyway, Mojang has decided already which bug is more important.

This issue becomes specially frequent when you lose Haste II. I mean, while you keep Haste II active, you will see this issue only if there's a lag spike, and not always. But you can intentionally reproduce this issue by just going out of range of your beacon while you are mining, and if you keep mining with Haste 2, the mined blocks at Haste 2 goes will be ghost blocks.

Has anyone else experienced the MC-156013 while using a patched version (the current Paper Minecraft)?
I did experience issues with mining straight down, but I can't seem to recreate that problem.
Perhaps this is actually a workable solution after all?

Has anybody found a temporary fix for this at all? This is occurring on my 1.14.4 Spigot server and is creating a very frustrating experience.

@Tony - Yeah use Paper instead

Hello,
I have efficiency V on all my tools and I don't play on server, never made a server, I play single player world and this happens all the time because with efficiency V, the dirt blocks especially get mined almost instantly and I end up with tons of ghost blocks, I see that paper servers have a fix for this and the user Mat also posted here a fix but since I play single player world how can I fix this? As it is it's a very frustrating bug that is taking away my enjoyment of the game because I end up getting stuck on ghost blocks every 2 minutes or so when I'm mining and I would like to use efficiency enchantment on my tools...

Which version are you playing in?

I am playing on 1.14.4, single player world
This bug will be fixed in 1.15.

There is another bug in 1.15.1 which is in another form, as in the video below, I place a tile and then I use the following command on the block:
/summon minecraft:falling_block -433 111 -168 {BlockState:{Name:"minecraft:andesite_slab",Properties:{type:top}},Time:-1000000,NoGravity:true}
at that time, the block turns into a ghost block that can no longer be broken. Then I delete the falling block and the block is invisible, you have to click on it so that it reappears to break it.
The video : https://youtu.be/7q64k9DMdX8
That's a completely separate issue. Please create a new ticket for it.
This still seems to be an issue, albeit happening more rarely.

Yall have servers close to you and it shows. Us who dont have any realm server closer than 200ms suffer from this. If it takes falling off pilars I GLADLY take it again. Because I can just not 1block pillar up to take a screenshot, while trying to flatten a hill brings a ton of frustration. Thank you for taking this into consideration.