Skip to content

Inventory preview and shulkerbox preview use the wrong texture #400

@MeeniMc

Description

@MeeniMc

Both inventory preview and shulker preview feature use the wrong texture, and composite the textures incorrectly when using a resource pack with diegetic textures for workstations.

Replication steps:

  1. Minecraft 1.21.8 (but this is not version specific, very old, possibly forever)
  2. Minihud 0.36.3, malilib 0.25.4, fabric-api
  3. Install resource pack colourful containers https://modrinth.com/resourcepack/colourful-containers-gui
  4. Install minihud
  5. use shift on a non-empty shulkerbox, the pink shulkerbox texture will overlap with the colored rendering, the south-east part of the rendering doesn't use the texture.
  6. use the inventory preview keybind on a villager, the dispenser (dropper?) texture is used for the villager inventory, the chest texture is used for the villager trades (with a tint if BGColor is active), again south-east part of boxes do not use the texture and look odd.
  7. use the inventory preview keybind on a smoker, the furnace texture is used instead of the smoker texture, texture stitching is odd.
  8. use inventory preview on a chest, single chest use the shulkerbox texture, double chest uses the chest texture (with south-east stitching error in both case)

Potential solutions:

  1. use the correct texture for the correct block, instead of using a generic representative for the type (e.g., furnace for
  2. stitch the textures correctly, especially for the south-east corner
  3. stitching correctly in all cases may be difficult, potentially texture-pack dependent. Maybe disable applying the texture altogether and always render in vanilla-plain boxes mode?

Some more examples:

Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions