Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I was wondering how I should go about making an animated sprite for my projectile, it's just a basic 2D sprite no 3D model or anything like that. I thought it would be as easy as a .mcmeta file, but like usual nope. Anything I could reference? I don't think Minecraft itself has anything I can look at, although I am looking. Any help would be much appreciated

1 hour ago, Babelincoln1809 said:

Is the texture animated, or are you talking about the flame effect it has?

you will need the .mcmeta were you tell minecraft how to animate the texture you can look at the water .mcmeta to understand how it works
the texture of an animated object will is simple extends downwards, so like the normal texture size is 64*64 and you want 4 different textures the size of the texture would be 64*256
look also for that at the water texture

Edit: this is an example of mine (the blood texture)

Edited by Luis_ST

  • Author
5 hours ago, Luis_ST said:

you will need the .mcmeta were you tell minecraft how to animate the texture you can look at the water .mcmeta to understand how it works
the texture of an animated object will is simple extends downwards, so like the normal texture size is 64*64 and you want 4 different textures the size of the texture would be 64*256
look also for that at the water texture

Edit: this is an example of mine (the blood texture)

I made an mcmeta file for my png, and I thought that it would work as intended, but that's not the case. I looked at your example and the water one, but I dunno what's wrong with it. I've done this with items before with no issue, so I dunno why it's not working this time around. My image uses 3 frames, so 96 pixels vertically since it uses 32*32 sized sprites. Could that be the issue?

here's the mcmeta file 

Spoiler

{ "animation": { "frametime": 2, "frames": [ 0, 1, 2 ] } }

 

  • Author
1 minute ago, Luis_ST said:

both files are in the same folder?
are there errors on the log?

yea both are, I'm double checking everything like crazy rn lol. I don't see any in the log appearing either

  • Author
2 hours ago, Luis_ST said:

do not use @OnlyIn

But isn't most rendering, if not all, handled on the client side of things? I tried it out, but it didn't do anything

2 hours ago, Luis_ST said:

try with other RenderTypes

I tried that, but I just get some interesting results. Nothing to solve the issue

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.