sigurd4 Posted June 17, 2015 Posted June 17, 2015 You might be aware of the animation that happens when you switch to another item in the hotbar. The item bobs down, then up. Something that I find fairly annoying is that this animation also happens whenever any nbt data of the held itemstack is set. My item changes nbt data very frequently, so it gets somewhat frustrating. Therefore I would prefer if there was a way to prevent this animation. I found this other post (http://www.minecraftforge.net/forum/index.php?topic=28710.0) that asks about the same thing, but is without a proper answer, most likely due to the misunderstanding caused by his unclear language. I really didn't get the information I needed from it, and thus I made this post. Quote http://www.planetminecraft.com/member/sigurd4 I'm making the bioshock mod!
Ernio Posted June 17, 2015 Posted June 17, 2015 http://www.minecraftforge.net/forum/index.php/topic,30937.msg160967.html#msg160967 Issue has been tackled countless times (I've personally seen it at least 10 times in past months). Currently there is no hook to cancel that "action". Most of coders end up doing tricks (see linked thread). There will probably be PR for this very soon as i noticed - "heavy" modders started running into this issue (I personally will be using it in near future). Quote 1.7.10 is no longer supported by forge, you are on your own.
EverythingGames Posted June 17, 2015 Posted June 17, 2015 Hi @OP Check out this post on the Minecraft Forum. These guys seemed to have found a solution, that is if you don't mind a little reflection (hacky solution warning): http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/2350828-unequip-equip-animation-on-item-damage Quote Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
EverythingGames Posted June 18, 2015 Posted June 18, 2015 Lex Manos implented a fix recently, so this should end all issues with the NBT triggering animations. Quote Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
Recommended Posts
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.