mojira.dev
MC-58119

The "facing" block state of repeaters, comparators, and glazed terracotta doesn't match the direction they're facing

The Bug:

The "facing" block state of repeaters, comparators, and glazed terracotta doesn't match the direction they're facing.

Steps to Reproduce:

  1. Summon a repeater, comparator, and block of glazed terracotta that are all facing west by using the commands provided below.

    /setblock ~2 ~ ~-2 minecraft:comparator[facing=west]
    /setblock ~2 ~ ~ minecraft:magenta_glazed_terracotta[facing=west]
    /setblock ~2 ~ ~2 minecraft:repeater[facing=west]
  2. Enable the F3 debug menu and observe which direction the blocks appear to be facing.

  3. Take note as to whether or not the "facing" block state of repeaters, comparators, and glazed terracotta matches the direction they're facing.

Observed Behavior:

The "facing" block state doesn't match the direction the blocks are facing.

Expected Behavior:

The "facing" block state would match the direction the blocks are facing.

Linked issues

Attachments

Comments 14

Confirmed (screenshots attached).

The "facing" of course depends where the front and back is defined for the repeaters. If the Input side is the "front", then it's correct.

Confirmed, and I'm pretty sure I know why this happened. When they ported the block models over to the resource pack system, the models for repeaters and comparators accidentally ended up reversed. So, remember this issue for one snapshot where repeaters and comparators were getting placed in the wrong direction? https://bugs.mojang.com/browse/MC-56951 Well this is when it happened.

So instead of correctly turning the models around, comparators and repeaters were switched to function with this new backwards orientated block model. But in doing this, the blockstate names stayed the wrong direction, which is the reason for this bug.

Confirmed for 15w51b. Comparators also affect this bug. Also I uploaded screenshots for repeater and comparator facing value bug.

4 more comments

Can confirm in 20w51a.

I’d like to request ownership, since the original reporter hasn’t been active since April 2015. I will keep this report updated.

Can confirm in 1.17.

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 22w12a.

[media]

Joel Chase

Avoma

(Unassigned)

Confirmed

Gameplay

Low

Block states

comparator, glazed_terracotta, repeater

Minecraft 14w25b, Minecraft 14w30c, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, ..., 1.21.4, 25w08a, 1.21.5, 1.21.6, 1.21.7

Retrieved