Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-261837

Tripwire renders oddly when given custom models

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.4
    • None
    • Community Consensus
    • Rendering, Resource Packs
    • Low
    • Platform

      The bug

      If minecraft:tripwire is given a custom model via a resource pack, it will render strangely when placed next to adjacent tripwire units and when viewed through other tripwire or other translucent surfaces.

      How to reproduce

      A resource pack is attached to this issue which makes minecraft:tripwire use the model for purple stained glass. It also replaces the model for blue stained glass with a copy of the purple stained glass model with all cullface options removed for the sake of comparison.

      Build a 3x3x3 cube in the air consisting of minecraft:tripwire (via the string item) and view it from different angles. From some angles, it will appear solid, and from others, all of the inner faces will be visible and none are culled. Experiment with gaps between the tripwire units, viewing tripwire through translucent blocks, viewing translucent blocks through tripwire, and so on.

      Expected results

      The occlusion, face culling and so on would remain somewhat consistent from all angles (i.e. you shouldn't be able to deduce what direction you'd be looking at the 3x3x3 cube at by going off of what faces are visible and which ones are occluded). For example, there could be no culling at all, there could be full culling so that a cube of tripwire looks identical to a cube of purple stained glass from every angle, or there could even be full occlusion such that all tripwire units behind other tripwire units are hidden (like how ice rendered prior to release 1.7).

      Actual results

      The weird directional stuff described here.

        1. 2023-04-13_16.33.32.png
          2023-04-13_16.33.32.png
          287 kB
        2. 2023-04-13_16.33.37.png
          2023-04-13_16.33.37.png
          483 kB
        3. 2023-04-13_16.34.44.png
          2023-04-13_16.34.44.png
          907 kB
        4. 2023-04-13_16.34.49.png
          2023-04-13_16.34.49.png
          877 kB
        5. 2023-04-13_16.34.52.png
          2023-04-13_16.34.52.png
          888 kB
        6. 2023-04-13_16.34.56.png
          2023-04-13_16.34.56.png
          113 kB
        7. 2023-04-13_16.35.02.png
          2023-04-13_16.35.02.png
          694 kB
        8. 2023-04-13_16.35.12.png
          2023-04-13_16.35.12.png
          71 kB
        9. tripwire-rendering-test-1.19.4-v1.0.zip
          1 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: