SpitefulFox / Avaritia

The Minecraft mod to end all mods
81 stars 100 forks source link

[1.7.10] Halo refuses to render in addon mod. #107

Closed RCXcrafter closed 8 years ago

RCXcrafter commented 8 years ago

I made an addon for this mod so I can torture players with even more singularities, however my singularities don't have the black halo around them even though my item class does implement IHaloRenderItem.

Can you tell me what I did wrong here?

Here's my source code: https://github.com/RCXcrafter/AOBDsingularities/blob/master/src/main/java/com/rcx/aobdsingularities/item/AOBDItemSingularity.java And here's a screenshot: https://media-elerium.cursecdn.com/attachments/75/278/crafting.png

SpitefulFox commented 8 years ago

Did you make sure to register the halo renderer for the item as well?

https://github.com/SpitefulFox/Avaritia/blob/1.7.10/src/main/java/fox/spiteful/avaritia/ClientProxy.java#L34

RCXcrafter commented 8 years ago

That would be my problem, let me see if I can get it to work with that.

RCXcrafter commented 8 years ago

Yep, that did the trick. Thanks. https://media-elerium.cursecdn.com/attachments/75/466/crafting.png