Jump to content

MineWIZ

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by MineWIZ

  1. 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
  2. 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?
  3. I didn't know that there is such a method. Thank you so much.
  4. Hello I have a question about modifying attack damage of my custom sword. I have found that there is way to change the attack damage my sword makes by overriding getItemAttributeModifiers() and setting attack damage attribute. But my sword have levels like (Lv 1, Lv 2) which add bonus damage to weapon. I am storing the level of sword using NBT data. So now when I want to apply the bonus attack damage depending on level of weapon I need to read the level of sword from NBT data. The problem is that there is now way to pass the ItemStack of my sword to getItemAttributeModifiers(). Do someone know how to do it?
  5. Sure there is a way to render text in world. Just look at Zyin's HUD mod source https://github.com/Zyin055/zyinhud
×
×
  • Create New...

Important Information

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