Dynmap-Forge/Fabric

Dynmap-Forge/Fabric

888k Downloads

(Hires) Minecraft Lanterns only display on Dynmap if they are hanging; Lanterns placed on top of blocks do not display

kurazarrh opened this issue ยท 10 comments

commented
  • Dynmap Version: 3.1-beta6-spigot
  • Server Version: Spigot 1.16.5
  • Pastebin of Configuration.txt: https://pastebin.com/EwaPaueE
  • Server Host (if applicable): Self-hosted on Win2008R2
  • Pastebin of crashlogs or other relevant logs: N/A
  • Other Relevant Data/Screenshots: Not using any texture packs; the server is 99.9% vanilla. I've attached a screenshot with red arrows pointing to where there are lanterns placed on top of some logs. There are other, hanging lanterns visible in the shot.
    Dynmap-3 1-beta6-spigot_Lantern_Issue

Using the hires setting for Dynmap, load up a world. Place a lantern on top of a block, and place a lantern on the underside of a block (such as a chain or fence post so that it is visible at the angle of the dynmap render). View the dynmap. The hanging lantern is visible, but the one placed on a block is not.

[X] I have looked at all other issues and this is not a duplicate
[X] I have been able to replicate this

commented

Adding comment to note that this also applies to beds not rendering. See attached screensho
Dynmap bed render issue
t.

commented

@mikeprimm bump, still present in beta3
image
image
image

commented

Fix will be in next SNAPSHOT (603 or later)

commented

Sorry to re-open this mike but when testing another issue I noticed the texture for the lanterns is wrong (although does show up on the ground now.

The top texture just appears to be the side texture mapped to the top:
image

Additionally the 3D view seems to cut the lantern in half and not show the top at all:
image

commented

If you go into spectator mode to travel inside the bump to see the texture it is a solid gray top:
2021-12-30_13 43 16

commented

If you look at the resource pack for vanilla, you'll see that there is no top texture... all faces are same texture:

From model:

{
    "parent": "block/block",
    "textures": {
        "particle": "#lantern"
    },
    "elements": [
        {   "from": [ 5, 0, 5 ],
            "to": [ 11, 7, 11 ],
            "faces": {
                "down":  { "uv": [  0, 9,  6, 15 ], "texture": "#lantern", "cullface": "down" },
                "up":    { "uv": [  0, 9,  6, 15 ], "texture": "#lantern" },
                "north": { "uv": [ 0, 2, 6,  9 ], "texture": "#lantern" },
                "south": { "uv": [ 0, 2, 6,  9 ], "texture": "#lantern" },
                "west":  { "uv": [ 0, 2, 6,  9 ], "texture": "#lantern" },
                "east":  { "uv": [ 0, 2, 6,  9 ], "texture": "#lantern" }
            }
        },
        {   "from": [ 6, 7, 6 ],
            "to": [ 10, 9, 10 ],
            "faces": {
                "up":    { "uv": [  1, 10,  5, 14 ], "texture": "#lantern" },
                "north": { "uv": [ 1, 0, 5,  2 ], "texture": "#lantern" },
                "south": { "uv": [ 1, 0, 5,  2 ], "texture": "#lantern" },
                "west":  { "uv": [ 1, 0, 5,  2 ], "texture": "#lantern" },
                "east":  { "uv": [ 1, 0, 5,  2 ], "texture": "#lantern" }
            }
        },
        {
            "from": [ 6.5, 9, 8 ],
            "to": [ 9.5, 11, 8 ],
            "rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45},
            "shade": false,
            "faces": {
                "north": { "uv": [ 11, 1, 14, 3 ], "texture": "#lantern" },
                "south": { "uv": [ 11, 1, 14, 3 ], "texture": "#lantern" }
            }
        },
        {
            "from": [ 8, 9, 6.5 ],
            "to": [ 8, 11, 9.5 ],
            "rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45},
            "shade": false,
            "faces": {
                "west": { "uv": [ 11, 10, 14, 12 ], "texture": "#lantern" },
                "east": { "uv": [ 11, 10, 14, 12 ], "texture": "#lantern" }
            }
        }
    ]
}
commented

That's odd.

In-game there is definitely a different texture for the top:
image
Aside from the "bump" part of the lantern there is a gray border around the whole top.
On dynmap the texture is just one of the sides.

commented

Beta-657 - textures looking good. Chain on 'sitting' looks to be off axis, but also not pixel-aligned to grass in 3d (is it hovering?). 'Hanging' same heights as sitting lantern and only one (correct) chain.

image
image
image

commented

Closing as no further comments and its looking pretty damn good even in hirez ๐Ÿ‘๐Ÿฝ๐Ÿ‘๐Ÿฝ

commented

A similar problem
123232