AbsolemJackdaw/Paintings--

Animated paintings show up squashed in GUI

Closed this issue · 5 comments

There's a tiny issue that when you have an animated painting (which will have a larger image for the frames), it shows up kind of funky and squashed in the GUI. If its possible for the GUI to maybe be set up so that it only takes the first frame of the painting, that'd be great.

example:
image

aren't animated paintings an optifine thing ?

nope! they are possible in vanilla. All you need is an .mcmeta file to tell it to be animated

okay, ill see what i can do. may take a while, exams are around the corner.

No worries, its not an urgent thing now that I know what im supposed to look for to find my animated paintings. if it helps-
the way that the animation mcmeta file looks like is more or less what i attached here.
image

ideally it could just look at frame 0 (if the "frames" field is present) and otherwise display the squashed image.

image

i managed to find a way. there will be a new possible option to put in painting data in the json file
anim will now serve to tell how long the animation file is, x and y what the size of the visible painting should be.
the animation will not be handled by the gui, but should then be handled in-world by minecraft itself.

i hope this pleases you :D