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