[MC-2255] Redstone wire uses different criteria for connecting visually and logically Created: 04/Nov/12  Updated: 01/May/20  Resolved: 29/Apr/20

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.7.10, Minecraft 1.8-pre3, Minecraft 1.8.8, Minecraft 15w40b, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w49a, Minecraft 15w49b, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 15w51a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w04a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w40a, Minecraft 1.11.2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w47b, Minecraft 18w01a, Minecraft 18w05a, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, 1.14.4, 1.15 Pre-Release 2, 1.15.1, 1.15.2, 20w12a, 20w17a
Fix Version/s: Minecraft 15w46a, 20w18a

Type: Bug
Reporter: [Mod] redstonehelper Assignee: Unassigned
Resolution: Fixed Votes: 60
Labels: glowstone, redstone_wire, slabs, stairs

Attachments: PNG File 2015-12-31_18.55.51.png     PNG File 2019-05-17_16.27.41.png     PNG File 2020-01-05_01.46.23.png     PNG File 2020-03-21_09.46.03.png     PNG File 2020-03-21_09.46.11.png     PNG File DustRedirectUpSlab_FixLogic.png     PNG File DustRedirectUpSlab_FixVisual.png     PNG File DustRedirectUpSlab_Vanilla.png     PNG File Redstone redirection - 1.8 behaviour.png     PNG File Redstone redirection - 1.8, up onto glowstone.png     PNG File Redstone redirection - 14w46a behaviour.png     PNG File Redstone redirection - blocking with leaves.png     PNG File screenshot 2.png     PNG File screenshot1.png     PNG File wire_render_1.12.png    
Issue Links:
Duplicate
is duplicated by MC-53752 Redstone & Stair Glitch Resolved
is duplicated by MC-56348 redstone not trailing downward while ... Resolved
is duplicated by MC-66076 Redstone dust placed on and beside re... Resolved
is duplicated by MC-70064 Redstone Does Not Work Properly And R... Resolved
is duplicated by MC-72995 Redstone dust doesn't render on the s... Resolved
is duplicated by MC-73931 Redstone wire doesn't render vertical... Resolved
is duplicated by MC-75988 Visual glitch involving redstone Resolved
is duplicated by MC-97846 Redstone dot/wire doesn't change Resolved
is duplicated by MC-98858 Redstone Wire not appearing on Redsto... Resolved
is duplicated by MC-101639 Piston Redstone Issue Resolved
is duplicated by MC-104725 incorrect redstone glitch rendering Resolved
is duplicated by MC-108512 Redstone line going up a slab acts as... Resolved
is duplicated by MC-110463 Piston on top of redstone bug Resolved
is duplicated by MC-111763 Redstone Wire on Redstone Blocks Grap... Resolved
is duplicated by MC-124642 Slabs and redstone pointing Resolved
is duplicated by MC-136564 Pistons are activated without reasons... Resolved
is duplicated by MC-144031 redstone dust powers blocks it isn't ... Resolved
is duplicated by MC-154273 slab diode redstone piston bug Resolved
is duplicated by MC-157619 Redstone doesn't behave normally when... Resolved
is duplicated by MC-157865 Redstone still powers sides when trav... Resolved
is duplicated by MC-168515 Redstone False Power Resolved
is duplicated by MC-168886 Up-pistons are not powered when the a... Resolved
is duplicated by MC-181176 Redstone dust incorrect display with ... Resolved
Relates
relates to MC-3311 Transparent blocks disallow downwards... Resolved
relates to MC-3703 Redstone changing orientation doesn't... Reopened
relates to MC-8645 Redstone wire receiving level 1 power... Resolved
relates to MC-9405 Top piece of staircase redstone dust ... Resolved
relates to MC-181524 Redstone does not visually connect wh... Resolved
relates to MC-181636 Redstone does not visually connect wh... Resolved
relates to MC-181764 Redstone behaviour: Redstone dust vis... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Redstone
Mojang Priority: Important

 Description   

The bug

Redstone wire in some situations uses different logic for connecting visually (in which direction the dust texture goes) and logically (what gets powered).

Affected situations

List might be incomplete
Last updated for 18w05a

Situation Looks like Is actually Screenshot
Redstone wire connecting upwards to slab / stairs / glowstone line dot Redstone redirection - 14w46a behaviour.png

Glowstone should possibly not show redstone wire on its side since all other blocks which only transfer a redstone signal upwards have no wire on their side.

Code analysis and suggested fix

See comment



 Comments   
Comment by [Mod] violine1101 [ 29/Apr/20 ]

This has been fixed in 20w18a.

https://www.minecraft.net/en-us/article/minecraft-snapshot-20w18a

Comment by Bluecrab2 [ 15/Apr/20 ]

The " Glowstone should possibly not show redstone wire on its side since all other blocks which only transfer a redstone signal upwards have no wire on their side." is no longer true, redstone blocks and glass both show the redstone going up the sides

Comment by [Helper] Michał [ 21/Mar/20 ]

@urielsasis After investigation it seems that your bug is MC-9405

Related, but resolved as won't fix.

Comment by [Mod] Urielsalis [ 21/Mar/20 ]

20w12a


Redstone(unpowered) present, all go up


Redstone not present, only middle goes up

adding the redstone after the fact doesnt make the pistons go up either

Comment by RedCMD [ 27/Feb/20 ]

Vanilla:

Glowstone should possibly not show redstone wire on its side since all other blocks which only transfer a redstone signal upwards have no wire on their side.

This seems WAI because there is a check specifically just for glowstone
(The check was merged with isFaceSturdy() in 1.13)
Other blocks like observers and pistons now have redstone visually running up the side too
Slabs don't have a solid face on the side so it doesn't show the vertical redstone

 

Visual Fix:

Change the direction redstone visually faces matching the logical direction
Code to change is in RedstoneWireBlock.java under getConnectingSide();
Currently, it checks if the block next to the dust is isFaceSturdy() OR Hopper 
Then checks if the block is isCollisionShapeFullBlock() returns upwards if true else side if false
To change the visual, this should be changed to if isRedstoneConductor() connect Upwards
This is to be more consistent with isPowerSourceAt()
This has a side effect that redstone won't show visually on the side of non-isRedstoneConductor() blocks

 

 

Logical Fix:

Change the direction of dust logically to match vanilla visuals
Code to change is in RedstoneWireBlock.java under isPowerSourceAt();
Currently it checks if the block next to the dust is isRedstoneConductor() and the block above is not isRedstoneConductor() then calls shouldConnectTo()
The check for if the block to the side is isRedstoneConductor() should be changed to isFaceSturdy() OR Hopper
This is to be more consistent with getConnectingSide();

Comment by yellowcamper [ 23/Jul/19 ]

add minecraft 1.14.4

Comment by Fabian Röling [ 08/Apr/19 ]

Nope, I still get the same result as in the Redstone redirection - 14w46a behaviour.png screenshot in 19w14b.

Comment by LuxiKeks [ 08/Apr/19 ]

This seems to be resolved in the latest 1.14 snapshots (tested in 19w14b).

Comment by Xavom [ 10/Jul/18 ]

Affects 1.13-pre7. Could this also be related to MC-123850 (resolved in 1.13-pre7)?

Comment by [Mod] NeunEinser [ 05/Jul/18 ]

Already included in affected versions

Comment by Shinrod Dellore [ 05/Jul/18 ]

Affects 1.13-pre6

 

Comment by [Mod] NeunEinser [ 23/Jun/18 ]

Can confirm for 1.13-pre3

Comment by Marcono1234 [ 31/Jan/18 ]

I tried cleaning up the report since I was not able to reproduce or see some of the described behavior.

Please comment in case a situation is missing. Redstone blocks and hoppers look like a different bug and are reported as MC-124698.

Comment by [Mod] NeunEinser [ 24/Nov/17 ]

Can confirm for 17w47b

Comment by [Mod] NeunEinser [ 26/Oct/17 ]

Can confirm for 17w43a/b

Comment by Joram Brenz [ 05/Sep/17 ]

@Fabian Röling:
Maybe I didn't manage to say what I was trying to say. So let me take it in chronological order:

Minecraft 1.0 (1.0.0-RC1): The single redstone dust texture changed from a + to a dot. From this on it doesn't look like it is connected to all 4 adjacent blocks anymore but it still powers them.

Minecraft 1.3.1 (12w25a) until Minecraft 1.8: Redstone can now be placed on upside down halfslabs. It is possible to create what we see in the 1.8 picture. While it is irritating, it is still consistent with other behaviour, because we know, that the dot represents a connection to all 4 sides (while not showing them).

Since Minecraft 14w46a: The redstone now connects to the redstone on the slab, but still not to the pistons making it super counterintuitive why it powers them. It really should have stayed a "+" in the first place.
Also notice, how the behaviour never changed. It's just a problem of how to show it.
I hope that clarifies what I tried to say in my last post.
Yours sincerely, Shildifreak

(About the other mentioned issue of the redstone not going up the side of nonsolid blocks: In my opinion thats already how it's supposed to be, because it corresponds to the signal going up the block, but not down. If one would now add the redstone texture on the side of an upside down stair/observer/glowstone/etc. that would make things even more mixed up and irritating.)

Comment by [Mod] violine1101 [ 05/Sep/17 ]

LR G., in which version?

Comment by Alawnely [ 05/Sep/17 ]

Confirmed. Annoying

Comment by Fabian Röling [ 05/Sep/17 ]

This is not only about the dot, for example look at this picture:

Comment by Joram Brenz [ 05/Sep/17 ]

In the older "redstone redirection - 1.8 behaviour.png" picture we can see, that the redstone used to be a dot. And the dot once was a cross.
So like a single dot powering all 4 horizontal adjacent blocks, this behaviour was once consistent with the texture and should therefore be called intended.

So I suggest fixing the issue by remerging it with the dot visualisation, and then getting rid off those inconsistencies together, by displaying connections to all adjacent blocks.

PS.: Consistency helps a lot learning redstone. So I think this bug is not as unimportant as it might seem.

Comment by Xavom [ 10/Jun/17 ]

Confirmed in version 1.12 the issue of redstone wire visual render not matching connectivity. wire_render_1.12.png

Comment by Marcono1234 [ 14/Feb/17 ]

The redstone block bug (and observer block as well) might be intended. It looks like they act like slabs in the way that the power can only go up but not down.

Comment by Zeb [ 11/Oct/16 ]

Affects 16w40a.

Comment by Fabian Röling [ 28/Jun/16 ]

Changed the whole description to match the fact that only two of the screenshots are currently how it's in the game currently. In that process I also shortened it quite a bit, if someone wants to look if there's something missing, there's a "history" tab above the comments.

Comment by [Mod] redstonehelper [ 28/Jun/16 ]

The description should be accurate. Old screenshots may still be attached.

Comment by Fabian Röling [ 27/Jun/16 ]

I can confirm for 1.10.2 what's in Redstone redirection - 14w46a behaviour.png, but all other pictures either contain intended behaviour or are not present in 1.10.2. Can anyone confirm something from the other pictures in 1.10.2?

Comment by Jonah Simm [ 04/Apr/16 ]

confirmed for 1.9.2

Comment by Sess [ 12/Mar/16 ]

@[Mojang] Jeb (Jens Bergensten):

This is how the redstone is supposed to be when it goes up to a slab or transparent block (only those who can handle redstone of course):
https://bugs.mojang.com/secure/attachment/104663/Redstone%20redirection%20-%201.8%20behaviour.png

This is the current visual glitch:
https://bugs.mojang.com/secure/attachment/104664/Redstone%20redirection%20-%2014w46a%20behaviour.png

NOTICE that the pistons are powered, it is INTENDED, don't change how the mechanic works BUT how it looks.
Thank you!

Comment by Jonah Simm [ 18/Feb/16 ]

confirmed for 1.9 pre-2

Comment by Jonah Simm [ 17/Feb/16 ]

confirmed for 1.9 pre-1

Comment by Jonah Simm [ 29/Jan/16 ]

affects 16w04a

Comment by DicoTheRedstoner [ 15/Jan/16 ]

Yes Pixie, but as I said, the redstone dust on top of the slab *is not powering the redstone next to the slab*. Redstone dust does not connect to pistons, they are not a power source. They do connect to redstone torches, as they are a power source. An exception to this rule is powering redstone through blocks.
Since redstone dust is a power source for redstone dust around it, redstone dust connects to eachother visually. But since a slab creates a 1-way connection (diode), only the dust on top of the slab redirects.

Comment by Jonah Simm [ 14/Jan/16 ]

affects 16w02a

Comment by Pixie [ 04/Jan/16 ]

Because redstone dots can power the block next to them but it can not power redstone dust on top of that block. So if it is going to power redstone dust on top of a slab next to it it should be a line, the same as if it was going up a solid bock. (Atleast this is what i expect it to do)

Comment by [Mod] redstonehelper [ 03/Jan/16 ]

Because when redstone dust powers other redstone dust most people expect them to be connected.

Comment by DicoTheRedstoner [ 03/Jan/16 ]

If you read my earlier comments, you would know why this is. Redstone connects to sources of power, not to power destinations.
The redstone on the slab doesn't power the redstone next to the slab, thus the redstone next to the slab shouldn't connect. As a dot, it powers to all sides, so why would it make sense for it to be a line?

Comment by Pixie [ 03/Jan/16 ]

Wouldn't it be that the single redstone line leading to the slab powering to the side like a dot be the bug rather then the other way around?

Lines don't power to the side and redstone is suppose to point to connections. The connection in this case being up the slab, or other bock the acts like a slab. Also dots (and lines into blocks) do not transmit power up. So I believe that the line into the slab is correct, and the line powering like a dot a well is the bug.

Comment by DicoTheRedstoner [ 01/Jan/16 ]

The redstone dust next to the slabs in that pic should be a dot, as it powers to the side as well. For the rest though, thats new behaviour, where it connects through unsolid blocks.

Comment by james magnusson [ 01/Jan/16 ]

Seems to work as expected in 15w51b for the most part. Redstone dust connects through transparent blocks and transparent blocks that can have redstone put on them act like slabs (stairs, hoppers).

Redstonedust still does not run down the side of redstone blocks but redstone blocks are power sources so I don't think it really matters.

Don't know if it affects anything but I am using java 9

Comment by Jonah Simm [ 20/Dec/15 ]

affects 15w51b

Comment by Jonah Simm [ 09/Dec/15 ]

affects 15w50a

Comment by Jonah Simm [ 05/Dec/15 ]

affects 15w49b

Comment by Jonah Simm [ 02/Dec/15 ]

confirmed 15w49a

Comment by [Mod] redstonehelper [ 21/Nov/15 ]

@An_yMiner: See MC-9405 for that.

Comment by An_yMiner [ 21/Nov/15 ]

@Toboe_Irbis a simple line on solid blocks can be misleading, too:
http://s13.postimg.org/enlm87pj9/2015_11_21_04_19_56.png
just a little image showing how redstone connects:

edit: fixed a mistake in the picture
red: from
blue: to
purple: red+blue
But coloring as an indicator doesn't make much sense.(blue and purple REDstone?! And it's harder to see the power level)

Comment by [Mod] redstonehelper [ 16/Nov/15 ]

@dicotheredstoner: I changed the description:

** Also see "Redstone redirection - 1.8, up" - the redstone is rendering as going up the side of the full block with redstone on top even though it isn't logically oriented that way

Comment by DicoTheRedstoner [ 16/Nov/15 ]

@redstonehelper I actually have no idea what that is and I dont see any comment on the screenshots! :/

Comment by [Mod] redstonehelper [ 16/Nov/15 ]

@dicotheredstoner: I added a bullet point about your screenshot, did I describe it accurately? Do you suggest any changes to the description?

Comment by [Helper] Michał [ 16/Nov/15 ]

i don't think that it can be fixed, because redstone signal on some blocks can travel only up, but can't travel down. How to show this?

Comment by DicoTheRedstoner [ 16/Nov/15 ]

@[Mod] redstonehelper

Thanks for the cleaner overview of what the report is about.
Instead of doing nothing, an issue that could be fixed is the redstone not visually connecting when traveling up through non-solid full blocks, I'm talking about your third point. We could make a new label for that.
Otherwise I completely agree with you. The hopper/slab/glowstone/lamp behaviour is rather confusing, but it makes sense if you know how redstone works. You kinda want to know if the dust powers the block it's next to, and with this 'fix', it will not actually do that properly in all cases.

Redstone does render going up onto glowstone blocks in 1.8 (see screenshot: "Redstone redirection - 1.8, up onto glowstone"), which makes it more confusing indeed because glowstone has the same properties when working with redstone dust (you cant place comparators/repeaters on top of it though). Another bug you could make a separate label for...

Comment by [Mod] redstonehelper [ 13/Nov/15 ]

@jeb:

I reopened this because not the whole issue was fixed. Here's a tl;dr of the issues this ticket is about:

  • Redstone doesn't render going up the side of non-solid blocks like hoppers, slabs, stairs or redstone blocks
  • Redstone doesn't point towards the side of non-solid blocks like hoppers, slabs, stairs or redstone blocks if they have a piece of redstone dust on top (even though they transmit power that direction)
  • Redstone is visually cut off (both in direction and in going up blocks) by non-solid full blocks like TNT, glowstone, sea lanterns or leaves but functions exactly as if the non-solid full block wasn't there

I won't go into the issues caused by your fix, see dicotheredstoner's comment for that. In short, it's even more confusing now.

For the future: If you only fix part of an issue, leave a comment explaining that so tickets aren't reopened even if you consider them done. I will leave this one open so you can decide what to do with it. In my opinion it'd be best if the whole fix was undone and the ticket marked "Won't Fix".

Comment by DicoTheRedstoner [ 13/Nov/15 ]

@Jeb, sorry for the long post again, but I'd really like you to read this. I wrote a clarification of how it works, how it used to work and how it should work, as I did on the bug report of the redstone blocks (MC-5951).

When redstone dust goes up on a slab, as you know, it acts as a diode. Redstone power does go UP, but it does not travel back DOWN. Redstone always points towards power SOURCES or where its powered FROM. Thus, the redstone on top of the slab is redirected towards the source next to the slab, but the redstone next to the slab is NOT receiving power from the redstone on top of the slab and doesn't redirect. (Or stair, glowstone, lamp, anything).
Thus, the redstone next to the slab should NOT direct towards the slab. This works perfecly in 1.8 and before, as shown in the screenshot "Redstone redirection - 1.8 behaviour" which I attached. The opposite is what's shown in "Redstone redirection - 14w46a behaviour", and this is a new bug. If you want me to make a separate report, tell me, but I thought this overview might be helpful.

Besides - you don't seem to be aware of this - the redstone next to the slab still powers in all directions (if its not redirected from elsewhere). This is still the case in 14w46a (See screenshot "Redstone redirection - 14w46a behaviour") and, once again, has been the case since you could place redstone on glowstone and other non-solid blocks. This is such a fundamental component of redstone that I consider it something that should stay untouched, as the fact it works this way has been used in designing many, many, many redstone things. I wasn't aware in the last post that redstone still powers in all directions even when it has a slab with redstone on top of it next to it (and its redirected now), which I am very relieved about. But that's what makes this change so weird.

On another note, this bug was mainly meant for something else to be fixed - the behaviour in "screenshot 2". Diamond blocks are solid blocks and the redstone goes up and down. The blocks at diagonal that seem to block the redstone's path are not solid blocks, and thus they do not block the redstone's path. The glitch here is that the redstone does appear to be cut, but 'logically' as the reporter names it, it's not, and the redstone doesn't power to the side of it (As shown in "Redstone redirection - blocking with leaves"). This is definitely a bug.
I think the reporter also meant for redstone to show a vertical path when travelling up onto slabs, stairs, etcetera. As the game works now, it will show this vertical line if the redstone power travels down the block. That's not the case with the slabs and I do agree with not having redstone in mid-air. Besides, it would be kinda weird to have a dot on the ground and then a vertical line going down, wouldn't it?

I'll mention this again, redstone always points towards where it's powered FROM (unless powered from directly above/below, or through a block). If it's a dot, it powers in all directions, and if it's not, it powers on the side adjacent to where its powered from. When it's powered from 2 sides, it doesn't point 'into' or power any side.
In "screenshot 1", it shows 4 situations of diodes, where there's a dot on the ground and then redstone on top of the non-solid block next to it. On the left however, it's not a dot, because the redstone block is a source of power. Just thought I'd clear this up.

So, I suggest, once again, that you revert this bug to what it was as well, and fix the situation shown in "screenshot 2".
I think this makes total sense. I hope I'm not annoying you with my rants!

Comment by [Mojang] Jeb (Jens Bergensten) [ 13/Nov/15 ]

Why was this reopened? I fixed the old report and this is a new problem that should be "won't fix", but I don't want to change this report to "won't fix" because it was fixed!

Redstone dust should not float in the air, but dust on the ground should point to connections.

Comment by [Mod] redstonehelper [ 12/Nov/15 ]

Not fixed in 15w46a, reopening.

Comment by [Mod] redstonehelper [ 04/Oct/15 ]

Reopening and cleaning up/clarifying ticket.

Comment by AwesomeMan31415926 [ 04/Oct/15 ]

I doubt this is intended because it's inconsistent as True Kuehli pointed out. Confirmed in 15w40b.

Comment by Alexander Hammett [ 05/Nov/12 ]

It's the same with glowstone and slabs i think.
both redstone pieces would be points, because they are disconnected by the leaves. But because redstone automatically attaches to the torch it will turn into a line. Even without leaves and further redstone the redstone next to the lamp would turn into a line.

We will see what will happen with redstone when jeb rewrites the whole thing. DOn't expect this to be fixed before 1.5

Comment by True Kuehli [ 05/Nov/12 ]

But with Glowstone and Leaves there's no Redstone on the side of the upper block. If you put there glass instead of the Leaves it's connected on the side, so I don't think it's a feature... AND: It's shown as a redstone-point, but it still works as a redstone-line.

Generated at Sun Jan 12 11:57:14 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.