Posted February 29, 20169 yr Hello In 1.7.10 you can make Gl calls directly with IItemRenderer. But in 1.8+ IItemRenderer got replaced by SmartItemModel which don't let me make Gl calls. Is it possible to render vanilla like enchantment glint effect with different color on item?
February 29, 20169 yr You can use the item model system to put use your item's texture, and then have an additional layer with an animated texture with the effect you want. It's really simple. Just look up the info for resource packs. Also, IItemRenderer didnt get "replaced". It got removed. SmartItemModel was added to give flexibility to the baked model system that Mojang added. It's not a replacement though.
March 2, 20169 yr Author Thanks for response. I have added "layer1" which is an animation built from frames to my item model json. But now how to tell Minecraft which animation layer to use depending on ItemStack NBT data, if the tag "color" equals "RED" then use the animation layer with red color etc.? Btw. https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe12_item_nbt_animate Seems interesting
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.