Skip to content

Add ability to view animated image based on image.png.mcmeta #380

@LatvianModder

Description

@LatvianModder

Either as tool window or directly in file viewer, but it would be nice to test animated block/item icons without reloading resources every time

Example mcmeta and the image
image

{
    "animation": {
        "frametime": 3,
        "frames": [{"index": 0,"time": 3},1,2,3,{"index": 4,"time": 3},3,2,1]
    }
}

Activity

DenWav

DenWav commented on Apr 30, 2018

@DenWav
Member

This one is interesting...can't say I'm familiar with mcmeta (though it doesn't look that complicated). But this doesn't seem quite as out there as the model viewer feature request, so we'll see.

LatvianModder

LatvianModder commented on May 1, 2018

@LatvianModder
Author

It only has frametime, which is how many ticks each frame takes (so that's 50ms * number) and frames, which is the sequence of frames. If texture has 4 frames, the values can only go from 0-3, and each will take one frametime. Only special case is {"index": 0,"time": 3} which is equal to 0,0,0

stale

stale commented on May 31, 2018

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

DenWav

DenWav commented on Jun 2, 2018

@DenWav
Member

I'll mark this as accepted for now, don't know if I'll get to this soon though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @DenWav@LatvianModder

        Issue actions

          Add ability to view animated image based on image.png.mcmeta · Issue #380 · minecraft-dev/MinecraftDev