#How do i add an item with animation?
67 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of items.js from @rugged quest
but i don't know how do i modifi the texture
after i create it
im guessing i should do something on client events
you need an .mcmeta file, which will be named [item_name].png.mcmeta, with [item_name] of course being replaced with the name of the item
oh, and it needs to be horizontal strip or vertical strip?
vertical
and how do i save something as a .png.mcmeta? i just rename it as that?
yeah
cuz if see the archive it just says file png
do note, this will store things in plain text, so probably use a .txt file as a base
uh, you can probably just rename the extension
but don't do that
you need both the .png and .mcmeta file to make it animate
like that?
the .mcmeta will basically be a JSON-formatted set of parameters for the game to use to transform the image
but it just ends as .png.mcmeta.png
do you have file extensions enabled in your file explorer
what is that?
on some OSes, by default, you can't see the part of a file's name that says and defines what type of file it is
what OS are you on?
windows 10
if you go into a file explorer window, there should be one tab option that says View, or Home
oh i see now
one of those two, i honestly' can't recall, but among the options at the top bar, more towards the right, there should be some checkboxes
i managed to rename it, i'll reopen my minecraft to see if it worked
didn't work
here's the file
Paste version of enderium_mechanism.png.mcmeta from @rugged quest
and here's the script
Paste version of items.js from @rugged quest
you don't take the png file and rename it
you have the png file, and another file that is the mcmeta
wdym?
he means your mcmeta file and the actual png file are seperate files
make your png a normal png file again
and create a new file with the file name of your png file with .mcmeta at the end
like that?
just about
uh no
but because reasons, it would be enderium_mechanism.png.mcmeta
create a text file
o, well yeah
not a png
the filename is right, but the base type uh, not really
the mcmeta file is like a set of instructions, that's the simplest way to put it
this way?
hold on
then put this in there json { "animation": { "frametime": 2, "interpolate": false } }
put it in the same folder as your texture and reload textures with f3+t
Paste version of enderium_mechanism.png.mcmeta from @patent light
Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue! This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.
Do you have any other questions regarding your issue? Feel free to ask!
Note: You generally should create a new post for unrelated issues.