Minecraft / Blogs

How to Make Animated Textures | Resource Pack Tutorial

  • 12
  • 8
  • comment14
  • playlist_add
  • share
  • more_horiz
avatar Code202
Level 64 : High Grandmaster Engineer
141
Hello! Today I will show you how to make animated textures!

First, find the resource pack in which you want to make your animated textures in.
Now open up an image editor, such as Paint.net or Photoshop.
For each frame, you will need to have at least a 16x16 image size. Each frame is kept in the same image file. For example:

Now create a new .txt file in the same folder as the item image.
Rename it to a .mcmeta file.
Make sure it is the name of the item image such as diamond_sword.png, but instead diamond_sword.png.mcmeta.
Open in up in a program such as Notepad.
Now copy and paste this code into the file.
{"animation":{"frametime":1,"frames":[0,1,2,1,0]}}
This will be depending on how many frames you have.
The frames will rotate every 1 tick, and will go from 0 to 2 and then back again.
Now the item will be animated in game!

Credits:
By Code202

Notes:
For 1.11.2+
Tags

Comments : 14

star Login or register to post a comment.

Show Comments

1 - 14 of 14

Please define how to create 40x40 Frame and also suggest me if take help Animated Video Production Studios so it would be good or not because i want to make it urgent to upload it to my website?
  • Need_Not
  • Level 23
  • Expert Artist
  • October 16, 2018, 1:17 pm
so what if i have 4 frams? and can i do this with guis?

  • _Viridian
  • Level 11
  • Journeyman Warrior
  • February 12, 2018, 7:46 am
what is the code if you have 7 frames
  • MayorCatz
  • Level 1
  • New Explorer
  • January 19, 2018, 4:52 pm
how to create 32x32 animated textures?
  • PredaDog
  • Level 1
  • New Miner
  • July 23, 2018, 1:00 am
you shold use 32[width]x(32*frames of your animation)[height]
for example: 4 frames: width: 32 height: 4x32=128
5 frames 32 width 160 height (i guess you could learn it over 6 months)
  • lando_man
  • Level 8
  • Apprentice Crafter
  • November 23, 2017, 3:22 pm
TY soooo much! I really searched forever to find something like this!
  • Code202
  • Level 64
  • High Grandmaster Engineer
  • November 24, 2017, 9:07 pm
No problem ;)
this would be the best Animated TexturePacks tutorial around the forums or etc.

thx for it
  • Code202
  • Level 64
  • High Grandmaster Engineer
  • August 16, 2017, 1:26 am
Thanks ;)
  • FirEmerald
  • Level 28
  • Expert Modder
  • June 7, 2017, 4:46 pm
1. diamond_sword.png becomes diamond_sword.png.mcmeta, not diamond_sword.mcmeta

2. this only works for block and item textures.
  • Code202
  • Level 64
  • High Grandmaster Engineer
  • June 7, 2017, 10:44 pm
The second thing you stated was already known, and it may have just been a typo.
  • FirEmerald
  • Level 28
  • Expert Modder
  • June 8, 2017, 1:57 pm
I just wanted to make sure people knew why it won't work on other textures.
  • ImYourEnder
  • Level 20
  • Expert Skinner
  • June 6, 2017, 2:25 am
thanks for this!
  • DUCATISLO
  • Level 48
  • Master Mountaineer
  • June 5, 2017, 6:46 am
looks pretty good

1 - 14 of 14

Show Comments

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome