mojira.dev
MC-146930

The "Programmer Art" resource pack is internally called "programer_art"

The bug

The "Programmer Art" resource pack is internally called "programer_art". You can check that in the options.txt file, or in a crash report. This might not be a real bug as you can't really see that string ingame, but it's a small annoyance nevertheless.

To reproduce

  1. Launch Minecraft

  2. Enable the "Programmer Art" resource pack

  3. Press F3+C for 10 seconds

  4. Check the generated crash report
    → ❌ The resource pack's name is "programer_art"

  5. Check options.txt
    → ❌ The resource pack's name still is "programer_art"

Attachments

Comments 4

Confirmed in 20w22a.

Confirmed in 1.16 Release Candidate 1.

Can confirm in 21w19a

I can confirm this behavior in 1.19.2. Here's a nice and simple code analysis of this issue. 🙂

Code Analysis:

The following is based on a decompiled version of Minecraft 1.19.2 using Mojang mappings.

net.minecraft.client.resources.ClientPackSource.java

public class ClientPackSource implements RepositorySource {
   ...
   private static final String PROGRAMMER_ART_ID = "programer_art";
   private static final String PROGRAMMER_ART_NAME = "Programmer Art";
   ...

If we look at the above class, we can see that the value of the PROGRAMMER_ART_ID string is "programer_art". This is incorrect, and should instead be "programmer_art" to avoid spelling errors and mainly to maintain consistency with how it's presented in all different areas of the code.

violine1101

boq

Confirmed

Resource Packs

programmer_art

Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14.3 Pre-Release 2, ..., 1.16, 1.16.2, 1.16.4 Pre-release 1, 21w19a, 1.19.2

22w42a

Retrieved