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

Cherry and Bamboo Trapdoors grab improper texture for side textures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.4, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 4, 1.20.1
    • None
    • Confirmed
    • Textures and models

      Problem:

      Both the cherry and the bamboo trapdoors have the handles for the trapdoor on the opposite side compared to all other trapdoors that have handles. 

      In the template trapdoor files, those being:

      • template_orientable_trapdoor_bottom.json,
      • template_orientable_trapdoor_open.json, and
      • template_orientable_trapdoor_top.json 

      the side textures for the trapdoors are grabbed from the top three rows of pixels, with the values being from:

             [0, 0, 16, 0] to [0, 0, 16, 3]

      Since the handles for both the cherry and bamboo trapdoors are in that range, they appear on every side face of the respective trapdoor.

      Solution:

      a) create three separate template trapdoor .json files (top, bottom, open) specifically for the cherry and bamboo trapdoors, where the side texture is grabbed from the bottom, left, or right edge of the trapdoor to eliminate the appearance of the handle on the sides. The values needed for this fix would be [ 0, 13, 16, 3 ] for each cardinal direction.

      b) rotate the textures for both the cherry and bamboo trapdoors 180° to be in-line with the other trapdoor textures, eliminating the need for additional template .json files

        1. bamboo trapdoor.png
          bamboo trapdoor.png
          238 kB
        2. cherry trapdoor.png
          cherry trapdoor.png
          262 kB
        3. compared to others.png
          compared to others.png
          699 kB

            Unassigned Unassigned
            Hippopotamoss Hippopotamoss
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: