mojira.dev
MC-59928

Torches placed by world gen are unattached (Villages, Stronghold, Mineshaft, End exit portal)

Torches placed by the world generator and are supposed to attach to a block float instead.
How to recreate: Find any torches that are placed by the world generator (Villages, Mineshafts, etc.), and you will see that the torches float when they should be attached to a block.


This is displayed in the development console:

[Server thread/ERROR]: Tried to setBlockAndData(minecraft:torch/0) but it's an invalid state. Defaulting to minecraft:torch[facing=up] instead (minecraft:torch/5)

Related issues

MC-45395 Torch bug in stronghold MC-49930 Natural Torches Don't Connect to Block Their intended to. MC-57752 villagers touches and burning bug MC-59211 game tries to "setBlockAndData(minecraft:torch/0) but it's an invalid state. Defaulting to minecraft:torch[facing=up] instead (minecraft:torch/5)" MC-60061 The dragon egg / ender portal torches not generating correctly MC-60283 Flying torch in village's church MC-60325 Torches Bug MC-60704 Torch Bug MC-60774 Villages/Savana Villages generate with some blocks with incorrect data values MC-61283 generated torches are really wrong now MC-61648 Torch model mirrored from wool block (not "attached") on village lanterns. MC-62026 Torches spawn in the air in mineshafts and villages MC-62037 torches on village lamps sometimes generate facing wrong direction MC-62101 Village torch bug MC-62752 Torch Generation In Villages and the Bedrock Portal are buggy MC-62810 Natural torches don't place correctly MC-63431 Torches on the End portal in the End are created backwords. MC-63520 Torchs are spawned wrong in village (Temple) MC-63922 Strongholds Have Torches In Strange Areas & Are In Wrong Position Instead Of Being Attached To A Wall... MC-64094 Torches are oriented wrong on the exit end portal MC-64566 End Portal Torches Glitch MC-65633 Torches don't generate properly after killing the EnderDragon MC-65660 Torches face wrong direction and don't always illuminate MC-65728 Strange torch position on the ender fountain. MC-66378 torches that are generated in the portal of end dall'Ender dragon killed are positioned in a way contrary MC-66392 In an edge a portal in our world shows torch vice versa MC-66901 A Torch Glitch is recent Snapshot MC-66987 Exit Portal has floating torches MC-67654 Torches in Abandoned Mineshafts All Oriented the Same Way MC-68667 Generated Torches in Strongholds hover in mid-air

Attachments

Comments

migrated
[media][media][media][media][media][media][media]
migrated

Well Mojang just realeased a new snapshot so hopefully that will fix the problem.

migrated

Nope, this glitch still exsists in 14w27b.

migrated

Aw thats a bummer maby you need to just create a new world and see what happens.

migrated

I hate to bother you Mojang, but this is a somewhat severe bug that needs to fixed. Can you at least let me know that your working on it?

Torabi

Probable cause reported in MC-59211. This is displayed in development console:

[Server thread/ERROR]: Tried to setBlockAndData(minecraft:torch/0) but it's an invalid state. Defaulting to minecraft:torch[facing=up] instead (minecraft:torch/5)"
migrated

Confirmed in 14w28a. Torches on the black wool/fence posts generated in villages "float" instead of being attached to the block. In the snapshots, this is also observed in the "church" in villages.
FYI torches have been observed sometimes "floating" on black wool [in villages], in mineshafts and strongholds as far back as at least Minecraft 1.4.7.
I wonder if the code noted in MC-59211 could be modified to detect where the solid block is and self-orient generated torches?

marcono1234

ONE QUESTION
Why can't you sum up this report to: All naturally generated torches are placed wrong (Tried to setBlockAndData(minecraft:torch/0) but it's an invalid state. Defaulting to minecraft:torch[facing=up] instead (minecraft:torch/5))

I can already imagine that for example the torches in the mines will get forgotten.

Reports about other torch issues:
MC-53897 (relates)
MC-60061
MC-45395

migrated

Marcono1234, I was actually about to leave when I made this report, and I wasn't sure if it was ALL the torches generated were like this.

marcono1234

So can you please change it now, that it contains all the bugs with generated torches? 😉

migrated

Marcono1234, I'll check it out and see if that's the case in 14w29b. If it is, I'll post it.

migrated

Although, unless there is a good seed for 14w29b, it will be hard because the chunks load REALLY slow.

migrated

Looks like the mods have been busy. Marcono1234, your wish has been taken into action. 🙂

migrated

Just edited the description to be more specific. Now, please, no more complaining. 🙂

marcono1234

Yes now it is fine, thank you 😉

kumasasa

No, still in villages in 14w29b.
Flatworld "Desert", Seed / Coordinates see screenshot.

marcono1234

Sorry my comment was incorrect, I saw a light with 3 torches connected and thought it was fixed 😞

Sorry for the irritating comment with "Seems to be fixed for villages" but I found now already two villages where some of the lights had correct placed torches

migrated

Marcono1234 summed it up well. Floating torches can sometimes be observed in villages, mineshafts and strongholds, pretty much all world gen.
I don't have the best seed to test, but seed 133 has a village at x-360, z360 and a mineshaft if you dig straight down at x-31, z177

migrated

I found a village that seems to have good torches in 14w30c. Maybe it's fixed?

marcono1234

Confirmed seems like it is fixed for villages in 14w30c
But still there for end portals, all the torches are facing away from the block

migrated

This is still broken for the end exit portal in 14w31a. I didn't check the other locations specified in the description.

Attached is a screen shot.

migrated

I think this might be fixed in the 1.8 release. It looks like a problem in the structure generation code still using the old names for Damage values.

migrated

The still occurs in 14w32b

migrated

14w33a.
(seed: -6589301973742410408 Village is a short walk to your right)

migrated

14w34b.

migrated

In 14w34d (and b), the torches now drop themselves consistently, which is actually MC-53897, but they're caused by the same issue of the torches being generated in an incorrect orientation.

migrated

Will this be fixed in 1.8? To me, this seems too major just to blow over for months. Can someone at least tell me if mojang is working on this? (This comment is with all respect, I just want to know) Thanks.

Torabi

As it appears that torches now drop when generated improperly, rather than float, and the error message no longer appears in the console, I'm inclined to consider this issue fixed, and suggest those interested follow MC-53897, which covers the torches being dropped rather than placed correctly. We could update this ticket to reflect the current state of the game, but MC-53897 already exists and is older, so I'm more inclined to just keep that one open and update it with any relevant information.

migrated

MC-72437...
Still happening in 1.8...

Sonicwave

Reconfirmed for 1.8 also.
Nvm the world (and the one Jasper linked) was generated prior to 1.8. MC-53897 is what I'm getting in a 1.8-generated world.

migrated

Just came across how this was fixed. Thank you Mojang!

marcono1234

Not fixed for End portals for 1.8.2-pre4
How to reproduce:

/summon EnderDragon ~ ~ ~ {HealF:-1}

Use this in the overworld and go trough the portal and you will find 4 torches (same for end to overworld)

migrated

@ Marcono1234

You are actually referring to MC-53897.

marcono1234

I guess they are the same. The game handles them the same way as flowers or every other block which requires any kind of holder. When the game tests if the block is valid and it is not, it just "drops" the item.

migrated

(Unassigned)

Community Consensus

Minecraft 14w27a, Minecraft 14w27b, Minecraft 14w28a, Minecraft 14w28b, Minecraft 14w29b, ..., Minecraft 14w32d, Minecraft 14w33a, Minecraft 14w33c, Minecraft 14w34b, Minecraft 14w34d

Minecraft 14w34d

Retrieved