Jump to content

[1.7.10] Animated .PNG texture and mcmeta question


Frag

Recommended Posts

Hi guys,

 

as some of you know, you can put animated .png file (twice the height) in your minecraft block resource folder and put beside it a file with the same name, but with the .mcmeta extension. File would contains something like this ... (2 frames in this example)

 

{

  "animation": {

    "frametime": 7,

    "frames": [0, 1, 2, 1]

  }

}

 

So we have an animated PNG here ...perfect ... but any of you guys found a trick so not all the blocks will be animated at the same time? I guess that the frametime in the mcmeta represent the number of rendering pass before the next slide kicks in. But since all block are rendered one after the next ...we end up having all of them animated at the same time. Any trick to have the blocks not all in synch? So it would look more natural?

Link to comment
Share on other sites

I tried putting as much block as I can and it does not seem to interfere with the CPU at all. I guess that drawing the first texture or the second requires the same time.

 

But I have a very powerful machine ... so am I right in my affirmation?

Link to comment
Share on other sites

Processing power is irrelevant when all blocks that are identical use the same texture across all copies.  You can put as much block as you want, it is literally irrelevant.

 

If you want a block to have a different look, you need to be more clever than simply placing "more" of them.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.