Hey everyone,
I've checked everywhere, but I can't find a single thing that could be causing my issue. I'm trying to implement a basic 'fireball' using snowball as a basis but I'm not having any luck.
The specific problem is that while the projectile fires and impacts, it doesn't render at all.
I have added break points into the RenderKBFireball class but they do not fire.
My four classes are:
KBFireball - contains the item, it's onItemRightClick event, it's presence in creative mode, icon etc.
KBEntityFireBall - inheriting from EntityThrowable controls the onImpact
RenderKBFireball - the render class, pretty much a direct copy of RenderSnowball
KBClasses - the main mod file containing the definition and the registry etc.
A few things worth noting:
In KBFireball, I'm alternating between firing an actual snowball and my Fireball itself. The fact that the snowball shows is telling me this class is fine.
I suspect if anything, it has something to do with my registering of items, but I've tried a lot of variations and had no luck.
All of this compiles and runs as well, so no code errors.
Thanks in advance
Primalfreeze
KBFireball
KBEntityFireball
RenderKBFireball
KBClasses