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

Texture references for particles are inconsistent with models

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19, 1.19.2, 22w42a, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b
    • None
    • Community Consensus
    • Resource Packs
    • Low
    • Platform

      Pretty straightforward:

      While models' texture references are formatted assets/<namespace>/textures/<name>.png, particles' texture references are formatted assets/<namespace>/textures/particle/<name>.png.

      The particle atlas should set the prefix to "particle/" for consistency. The current behavior is incorrect, as having the prefix is consistent with sound, model, loot table, function, tag, advancement, dimension, dimension type, structure and feature references.

      Examples:

      Model:

      {
        "parent": "minecraft:item/generated",
        "textures": {
          "layer0": "minecraft:item/acacia_boat"
        }
      }

      Texture path: assets/minecraft/textures/item/acacia_boat.png

      Particle:

      {
        "textures": [
          "minecraft:angry"
        ]
      }

      Texture path: assets/minecraft/textures/particle/angry.png
      Expected with this input: assets/minecraft/textures/angry.png

      The fix:
      Replace "prefix": "" with "prefix": "particle/" in assets/minecraft/atlases/particles.json, and replace minecraft: with minecraft:particles/ in assets/minecraft/particles/<particle>.json.

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: