Old problem with animated items (this is another)

Post Reply
User avatar
Melkor
Member
Posts: 432
Joined: Sat Sep 24, 2011 01:03
Location: Underground

Old problem with animated items (this is another)

by Melkor » Post

This is an old problem
Having the compass in the quick bar and in your hand or a bow and if you use it, it makes the animation of changing items in hand, I don't know how to explain it better.
In the old Minetest there was no such animation, so the items changed instantly, I don't know much about this, but I have the idea that they could use part of the old code for the items in hand that have animation, like the compass.
This problem happens in all the games I tried like Mineclonia, Voxelibre or Minetest game, with mods
I attach an image of the problem
Attachments
2024-10-02_15-05.gif
2024-10-02_15-05.gif (838.72 KiB) Viewed 672 times

rstcxk
Member
Posts: 72
Joined: Mon Jul 08, 2024 22:06

Re: Old problem with animated items (this is another)

by rstcxk » Post

This basically happens because its not actually animated. Mineclone compasses are a total hack, each texture is actually a different item, and its quickly swapping between them

Not really a minetest bug, just hacks being hacky. It would be nice if we could do it another (less hacky) wau

User avatar
v-rob
Developer
Posts: 988
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
IRC: v-rob
Location: Right behind you.

Re: Old problem with animated items (this is another)

by v-rob » Post

Unless I'm greatly mistaken, this hack is outdated and unnecessary. You can set the "inventory_image" and "wield_image" metadata properties on an itemstack to change the texture you want to display. The mod you're using just needs to be updated.
Core Developer | My Best Mods: Bridger - Slats - Stained Glass

rstcxk
Member
Posts: 72
Joined: Mon Jul 08, 2024 22:06

Re: Old problem with animated items (this is another)

by rstcxk » Post

v-rob wrote:
Wed Oct 02, 2024 21:21
Unless I'm greatly mistaken, this hack is outdated and unnecessary. You can set the "inventory_image" and "wield_image" metadata properties on an itemstack to change the texture you want to display.
Mineclonia currently aims to support minetest 5.6, which dosent have those. It seems like 5.6 support is going to be dropped soon though

https://codeberg.org/mineclonia/mineclonia/pulls/2023

Post Reply