[MC-2512] Village lamp post floating torches Created: 08/Nov/12  Updated: 05/May/15  Resolved: 06/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.4, Minecraft 1.4.5, Snapshot 12w49a, Snapshot 12w50a, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w02b, Snapshot 13w03a, Snapshot 13w04a, Snapshot 13w05a, Snapshot 13w05b
Fix Version/s: Snapshot 13w06a

Type: Bug
Reporter: Twister Assignee: [Mojang] Nathan Adams
Resolution: Fixed Votes: 66
Labels: None

Attachments: PNG File 2012-11-08_11.13.20.png     PNG File 2012-12-19_09.42.43.png     JPEG File floating_torches-village2.jpg    
Issue Links:
Duplicate
is duplicated by MC-5377 Flying torchs in 1.4.6 village Resolved
is duplicated by MC-5391 torches bug Resolved
is duplicated by MC-6093 Village bug generation world Resolved
is duplicated by MC-6233 Torch in village Resolved
is duplicated by MC-7113 torch bug Resolved
is duplicated by MC-7138 Floating torches in village Resolved
is duplicated by MC-7513 Collision Torch Resolved
is duplicated by MC-7753 Torches don't Attach to NPC Torch Posts Resolved
is duplicated by MC-7969 Torches not spawning properly on lamp... Resolved
is duplicated by MC-8486 Torches on lamps in villages are stan... Resolved
is duplicated by MC-8536 Strange Village torches Resolved
is duplicated by MC-8548 Village torches not attached to wool Resolved
is duplicated by MC-8675 Duplicate from MC-2512 Resolved
is duplicated by MC-9161 Floating Torches Resolved
is duplicated by MC-9810 NPC Torch Placement Glitch Resolved
is duplicated by MC-10274 Flying Torches Resolved
is duplicated by MC-12001 NPC Village Torches Resolved
is duplicated by MC-12306 Floating Torches AND Floating Lamp Po... Resolved
is duplicated by MC-661 wool block tourch village bug Resolved
is duplicated by MC-3089 Floating torches Resolved
is duplicated by MC-3120 torches levitating in the villages Resolved
is duplicated by MC-3191 fail village torches Resolved
is duplicated by MC-3213 when in village the torches are not p... Resolved
is duplicated by MC-3244 Bug already on this website... I'm so... Resolved
is duplicated by MC-3326 Villages - Street lamps bug Resolved
is duplicated by MC-3551 bug Resolved
is duplicated by MC-3617 Village Torch Generation Bug Resolved
is duplicated by MC-3618 Antigravitational Torches Resolved
is duplicated by MC-3625 Torches on NPC village lamps don't or... Resolved
is duplicated by MC-3654 NPC Village Lamp Generation Bug Resolved
is duplicated by MC-3819 Village Torches Resolved
is duplicated by MC-3826 On village lamp posts, torches can fl... Resolved
is duplicated by MC-3833 Torches in Villages are generated flo... Resolved
is duplicated by MC-4119 Village Resolved
is duplicated by MC-4277 generating flat world Resolved
is duplicated by MC-4280 Villager Lights Wrong Resolved
is duplicated by MC-4312 Village torch glitch - not a lighting... Resolved
is duplicated by MC-4590 Torches not displaying correctly on b... Resolved
is duplicated by MC-4622 Torches not placed properly in NPC vi... Resolved
is duplicated by MC-4633 In villages the torches are floating Resolved
is duplicated by MC-4927 Incorrect Torch Generation In Villages Resolved
is duplicated by MC-5140 Missplaced torches in generated NPC-V... Resolved
Relates
relates to MC-7010 Akward Stronghold torch placement Resolved
relates to MC-45395 Torch bug in stronghold Resolved
relates to MC-1611 Torches don't place properly, get ins... Resolved
relates to MC-18202 Village lamp post torches attached to... Resolved
relates to MC-56941 Floating torch Resolved
relates to MC-59928 Torches placed by world gen are unatt... Resolved
CHK:
Confirmation Status: Community Consensus

 Description   

Torches spawned naturally in the map for lamp posts in villages are placed on air blocks. All other naturally spawned torches appear fine. Happens on both superflat and normal world types.



 Comments   
Comment by Ian Carlson [ 04/Feb/13 ]

Seed: Succubus (2013-02-03_18.03.11.png)

Comment by Ian Carlson [ 04/Feb/13 ]

Still exists in latest snapshot 13w05b.

Comment by Wilmer Kardell [ 28/Jan/13 ]

I seen this today when i was playing, and this also appear in stronghold and mineshaft.

Comment by Markku [ 28/Jan/13 ]

Tom Willshire: There are plenty of old videos/pics of with correct lamp post torches. (However, those alone are not a proof, since the torches could have been fixed manually first). But to the point, read Twister's (and mrheat's) comments above. This bug appeared in 1.4.4. So, not "since the addition of villages".

Comment by Tom Willshire [ 28/Jan/13 ]

This has happened I believe since the addition of villages. Confirmed on 13w04a.

Comment by Orion Humphrey [ 27/Jan/13 ]

Confirmed 13w04a

Comment by Markku [ 15/Jan/13 ]

Reading the code for the placing of torches in structures, it would seem that the code relies on some automatic algorithm to decide which way to attach the torch. The placement code itself does not specify it. Apparently, it doesn't work any more (or works worse than before).

Note, it didn't work well earlier, either. For example, in mineshafts the torches could be randomly placed on any of the neighbor surfaces if there was more than one. That is, it made a guess about the surface and got it wrong.

The need for automatic guessing of the orientation comes from the fact that the structure "blueprints" are defined in only one orientation, while the structure can be placed in multiple different orientations. This needs rotation of coordinates. Easy to do for blocks that are symmetric and do not need to be rotated themselves. The non-symmetric ones were left to be handled by automatic guessing...

The correct solution would be to add different placement method for those blocks that need orientation and which can not solve the correct orientation by itself. (For example, glass and fences, as they are, can always figure out how they should represents themselves, but e.g. torches, stairs, ladders can not always guess the right surface to attach to or the right orientation). A method that allows specifying the orientation like the player does; you're watching from here, and pointing to there, click. Such additional data can be rotated in the structure placement routines themselves just as easily as the block's coordinates themselves.

This solution might fix some apparently other bugs, too, like the stronghold library torches being fancily (MC-7010) or desert temple corner tower stairs being wrong, etc.

(EDIT: found a method that is supposed to rotate such blocks (i.e. adjust their metadata), but seems it is not used for torch placement. However, the method is of bad design anyway; the inner functionality of various blocks (the interpretation of metadata of torches, ladders, etc.) gets spread from their own classes into StructureComponent-class; the rotation code should be in their respective classes, which the generic rotation method would delegate the tasks to.)

Comment by MegaScience [ 14/Jan/13 ]

Confirmed for Snapshot 13w02b.

Comment by nate_dawww [ 25/Dec/12 ]

Attached screenshots of two separate villages generated in 1.4.6 within the same seed.

(The village depicted in the second screenshot came with one of the torches already lying on the ground, though this may have been caused by something I didn't see; I just took the picture as it was.)

Comment by Idea Guy [ 19/Dec/12 ]

This still occurs in even the most recent versions (up to 1.4.6pre).

Comment by Maarten Thijs [ 08/Dec/12 ]

please update to 12w49a

Comment by NekoJonez [ 01/Dec/12 ]

I have actually seen this several times in a Mineshaft. I have seen also maybe 3 times that a torch was "attached" to a cobweb ._. I'll try to post a screenshot next time I run into it

Comment by Alec Gorsse [ 27/Nov/12 ]

I can confirm this, the torches looked exactly the same as your screenshots right there, and the fence part was also floating, but I'm not sure if that has to do with the torches.

Comment by Microbugs [ 24/Nov/12 ]

Confirmed, v.1.4.5

Comment by MegaScience [ 18/Nov/12 ]

I have discovered this minor problem persists in Minecraft 1.4.5. There are other bugs newly introduces in 1.4.3-1.4.5, which has me feeling that they should wait on doing pre-releases until we've found everything.

This should be updated to include 1.4.5.

Comment by Cookie FONster [ 15/Nov/12 ]

I've had the same problem.

Comment by user-571ee (Inactive) [ 11/Nov/12 ]

I can confirm the bug with the "31337" seed. In 1.4.3 all torches are fine. In 1.4.4 the torches in the village are floating. The torches in the strongholds are fine in both versions.

Comment by Kumasasa [ 09/Nov/12 ]

@mrheat: sure, but this new issue may be caused by the fix for MC-1611

Comment by Twister [ 09/Nov/12 ]

My adventure map was made in 1.3.2 using the seed 31337. When generated in 1.3.2, the torches are fine. But the same seed in 1.4.4 makes the torches float.

Just make a (normal, not superflat) map with the seed 31337, and teleport to -971, 77, 229.

/tp -971 77 229

Comment by user-571ee (Inactive) [ 09/Nov/12 ]

MC 1611 is about torches placed by the player, this is about torches placed by the world generator. It's kind of random. Most of the time it's ok but sometimes you find a misplaced torch in a stronghold or village. I will try to make a screenshot.

Comment by Kumasasa [ 08/Nov/12 ]

Maybe related to MC-1611

Comment by Twister [ 08/Nov/12 ]

Looked at a stronghold library. It didn't seem to have floating torches, like mrheat said.

Comment by Twister [ 08/Nov/12 ]

Interesting. This might have to do with the fixing of torch orientation in 1.4.4, but I may be wrong.

Comment by user-571ee (Inactive) [ 08/Nov/12 ]

I have seen the same in stronghold libraries (in previous versions, not in 1.4.4, sorry for the confusion).

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