Jump to content

ICanDoodle

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ICanDoodle

  1. i have a trident item that i recently struggled with making it throw it's entity, but now im struggling with rendering the trident model in hand. no matter what i try, the item still renders the regular item texture and not the model in hand. relevant code is pasted below: ModItemRenderer: https://pastebin.com/TczyJy1N NetheriteSpearItem: https://pastebin.com/Y6DpqxE8 SpearsMod: https://pastebin.com/g8jRr02S all help greatly appreciated!
  2. Ive been making a trident type spear weapon for the past couple of months, and before i was stuck with rendering the model, but after some searching i was able to figure it out. (hopefully my code can be a resource to anyone struggling with that). but now, i can't properly figure out why my spear isnt throwing my spear entity, and is throwing regular tridents. any help is greatly appreciated! (all code i believe to be relevant is pasted below) EDIT: alterations to the spear item and entity classes, now the problem is different. now i just throw nothing EDIT 2: figured it out, simple constructor issues, dm me for code NetheriteSpearItem: https://pastebin.com/VB03SNKW ThrownNetheriteSpear (entity): https://pastebin.com/viPiRKYf ThrownNetheriteSpearRenderer (bit of a mouthfull i know): https://pastebin.com/rarxjBTf modentities: https://pastebin.com/mSJsEvh3 moditems: https://pastebin.com/aCsbLksK SpearModel: https://pastebin.com/rarxjBTf TestMod: https://pastebin.com/EQ5Q4fpa clientsetup: https://pastebin.com/hktF77Da
×
×
  • Create New...

Important Information

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