#texture animation
55 messages · Page 1 of 1 (latest)
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
!faq animated-textures
Here is an old (but still valid) tutorial on animated textures for Minecraft: Java Edition (vanilla):
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/resource-packs/resource-pack-discussion/1256350-animation-in-resource-packs-a-minecraft-1-6
I saw a video on yt of a guy importing a texture to blockbench that had a little film tape icon. I followed all the steps showed in the video but once I import my texture that icon doesn't show up
Blockbench has a size limit in regards to animated textures iirc.
They will still work ingame as animated textures, but BB might not recognize them as animated texture.
Also, your project's texture resolution needs to have the same ratio as one frame of your animated texture iirc.
Do I have to create a specific file to make animation working?
You will need an .mcmeta file, as explained in the linked guide
I tried but it didn't work
What did you name the mcmeta file?
Needs to be tv.png.mcmeta (I know, it's weird)
lemme try
I tried but it gives me this error Image minecraft:optifine/cit/tv/r size 498,2480 is not multiple of frame size 498,498
well, then you need to give your mcmeta the right amount of frames (so it assumed all frames would be square, which they aren't)
or you need to specify a "width" and "height" value (which is not in that tutorial since that tutorial was made before 1.13 where textures (frames) still needed to be square)
then what should I write
the width and height of your animated texture's frame
as
"height": 20,```
(with relevant values ofc)
ok
now it shows the texture though it is not animated
{
"animation":
{
"width": 498,
"height": 2480
}
}
this is what I wrote
the height needs to be the height of 1 frame, not of the whole texture
ok
are you using Optifine?
If yes:
!faq optifine-texture-blurry
Why is it blurry? --> Because of Optifine
Basically, on a vanilla client, if a texture isn't a multiple of 16 wide/high, the mipmap levels get reduced.
To prevent that on an Optifine client, Optifine resizes your texture, which most often than not results in blurry weird mess (especially on smaller textures)
Solution: Make your texture width and height a multiple of 16 (or don't use Optifine I guess)
is there another way to fix it? at this point it is a bit hard to make a multiple of 16 texture
Not afaik
sorry it doesn't work
may I share the pack with you so you can check what is wrong?
"it doesn't work" as in it's still blurry?
if yes, what did you change it to?
it is still blurry
I changed every measure to a multiple of 16 number
yes, but what exact width/height values does your texture have now?
a single fram is 448x288
did you change the height/width in the mcmeta too?
yes
then I don't know why it would still be blurry 🤔 (unless the texture itself is blurry ofc)
it is not
in the logs there's no error/warn concerning the texture
Idk
the only problem there could be is that the texture rendered in game is rotated
what block are you replacing?
a stick
k, in that case it shouldn't be rotated 🤔
could you send your model as .bbmodel file?
yes
make the screen use the whole texture, not just the size of one frame