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

Block palette with bpe within 1-4 is hardcoded to 4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.18.2 Release Candidate 1, 1.18.2
    • None
    • PopOS/Linux
      Java 17
    • Plausible
    • (Unassigned)

      The strategy for section states hardcodes the bits per entry to 4 instead of reusing the input being between 1 & 4. It does cause the client to render air (I assume because of corrupted data) when the palette length is too small.

      Problematic line is visible in `PalettedContainer.Strategy.SECTION_STATES`. SECTION_BIOMES does handle it properly.

            Unassigned Unassigned
            TheMode Felix Cravic
            Votes:
            7 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: