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

Unable to animate textures/gui/title/minecraft.png

XMLWordPrintable

    • Unconfirmed

      I am having trouble animating the title image for the main menu (minecraft.png). I have successfully made a resource pack and have resized the original "textures/gui/title/minecraft.png" from 256x256 to 256x1536 (1536 / 256 = 6 frames). I have made a "textures/gui/title/minecraft.png.mcmeta" in the same directory as the .png and wrote in the "animation"

      {..}

      block. I have checked for syntax errors everywhere. The "width", "height" and "frametime" fields have also been specified. The mcmeta file is written like so:

      {
      	"animation": {
      		"frames": [
      			0,
      			1,
      			2,
      			3,
      			4,
      			5,
      			4,
      			3,
      			2,
      			1
      		],
      		"frametime": 6,
      		"width": 256,
      		"height": 256
      	}
      }
      

      NOTE: If you have permissions, edit this text to see how the line endings actually look like.

      Where have I gone wrong? I used Notepad++ to edit the JSON. The result is the image showing up stuck between two of the frames. No change is observed as the frames are supposed to change. Keep in mind that my directories are FINE. The resource pack changes the minecraft.png, just that the animation doesn't work. I will attach the animated png strip as well as a screenshot of the result.

      Bottom line:

      1.6.1 pre: Unable to animate GUI image "minecraft.png" using new JSON format through "minecraft.png.mcmeta". This may also apply to other images in the gui.

        1. minecraft.png
          minecraft.png
          100 kB
        2. minecraft.png.mcmeta
          0.2 kB
        3. result.jpg
          result.jpg
          67 kB

            Unassigned Unassigned
            D_Pot Dmitri Poterianski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: