mojira.dev
MC-309814

Redstone ore can stay visibly lit indefinitely if stepped on by the player, item entities or fishing bobbers

Description:
When right-clicking a redstone ore block, the client only spawns the small redstone particles and leaves the updating of the actual block state entirely to the server. However, this is not what happens when a block is left-clicked or stepped on by the local player, a client authorative entity (saddled horse ridden by local player etc.), an ItemEntity or a fishing hook. In this case the client simply changes the block state by itself, but still entirely relies on packets from the server to unlight it (of course the client typically wouldn’t have access to a world's random tick speed). On any server with unstable connection, it is thus possible to light up a redstone ore block by any of the means mentioned above without the server actually being informed about the block state having changed, which causes the redstone ore block to stay lit on the client indefinitely.

Even though the redstone ore block staying lit indefinitely is the easiest way to detect/reproduce this bug, it is far from being the most relevant consequence of this. Redstone ore blocks currently have the unique property of being able to cause block state updates on the client, without ever informing the server of this. Many servers make use of technically “illegal” block states for a number of reasons, all of which can be broken by using redstone ore blocks without the server even having a chance of detecting the state change on the client. I have attached a video (rejoin.mp4) of how this bug can make multiple walls appear on the client without actually being there on the server.


Reproduction:
I have included several videos to showcase the different ways of triggering this bug, all of them manipulate the randomTickSpeed to increase server lag (redstone ore blocks being turned off instantly if the bug didn’t work is also a nice perk). Depending on the power of your PC, these bugs might not be reproducable in the same way for you, as they are for me.

In steppedon.mp4, I set randomTickSpeed to 10'000 and jump on a redstone ore block that is exactly 1 block higher than where I’m jumping from. It is important to repress the jump key after jumping from the ground to immediately continue jumping after.

In fishing.mp4 i built a very simple setup including two blocks. Simply make sure you’re standing fully against the grass block and face the direction of the redstone ore block while setting your pitch to around 14.5 degrees (Last number in the “Facing:” row on the F3 screen). Set randomTickSpeed to 1000 and keep repeatedly throwing the fishing rod, until the redstone ore doesn’t extinguish.

In itemdropped.mp4 I’ve also set randomTickSpeed to 10’000 and am just repeatedly dropping ItemEntities onto the edges of the redstone ore block. Much more inconsistent to reproduce due to the randomness of dropping items.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media][media]

Z0rty

(Unassigned)

Confirmed

Platform

Low

Block states

26.2, 26.3 Snapshot 3

Retrieved