mojira.dev
MC-2512

Village lamp post floating torches

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.

Related issues

MC-661 wool block tourch village bug MC-3089 Floating torches MC-3120 torches levitating in the villages MC-3191 fail village torches MC-3213 when in village the torches are not placed on the black wool./next one is thatwhen i turn a torch looking fire fly's on my screen like a torch is glitching out. MC-3244 Bug already on this website... I'm sorry (DELETE) MC-3326 Villages - Street lamps bug MC-3551 bug MC-3617 Village Torch Generation Bug MC-3618 Antigravitational Torches MC-3625 Torches on NPC village lamps don't orient correctly MC-3654 NPC Village Lamp Generation Bug MC-3819 Village Torches MC-3826 On village lamp posts, torches can float even if it was still on the village lamp, not attaching it to the lamp itself. MC-3833 Torches in Villages are generated floating MC-4119 Village MC-4277 generating flat world MC-4280 Villager Lights Wrong MC-4312 Village torch glitch - not a lighting problem MC-4590 Torches not displaying correctly on blocks in villages. they appear to float MC-4622 Torches not placed properly in NPC villages MC-4633 In villages the torches are floating MC-4927 Incorrect Torch Generation In Villages MC-5140 Missplaced torches in generated NPC-Villages MC-5377 Flying torchs in 1.4.6 village MC-5391 torches bug MC-6093 Village bug generation world MC-6233 Torch in village MC-7113 torch bug MC-7138 Floating torches in village MC-7513 Collision Torch MC-7753 Torches don't Attach to NPC Torch Posts MC-7969 Torches not spawning properly on lamp posts in villages MC-8486 Torches on lamps in villages are standing upright instead of on the wool MC-8536 Strange Village torches MC-8548 Village torches not attached to wool MC-8675 Duplicate from MC-2512 MC-9161 Floating Torches MC-9810 NPC Torch Placement Glitch MC-10274 Flying Torches MC-12001 NPC Village Torches MC-12306 Floating Torches AND Floating Lamp Post (fence)

Attachments

Comments

migrated
[media][media][media]
migrated

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

migrated

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

migrated

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

kumasasa

Maybe related to [MC-1611]

migrated

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.

migrated

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

kumasasa

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

migrated

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.

migrated

I've had the same problem.

megascience

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.

migrated

Confirmed, v.1.4.5

migrated

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.

migrated

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

migrated

please update to 12w49a

migrated

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

migrated

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.)

megascience

Confirmed for Snapshot 13w02b.

bugi74

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.)

migrated

Confirmed 13w04a

migrated

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

bugi74

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".

migrated

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

migrated

Still exists in latest snapshot 13w05b.

migrated

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

migrated

Nathan Adams

Community Consensus

Minecraft 1.4.4, Minecraft 1.4.5, Snapshot 12w49a, Snapshot 12w50a, Minecraft 1.4.6, ..., Snapshot 13w02b, Snapshot 13w03a, Snapshot 13w04a, Snapshot 13w05a, Snapshot 13w05b

Snapshot 13w06a

Retrieved