I'm making a throwing item that applies a potion effect to the entity it hits. I found out that the addPotionEffect only works on EntityLiving. I tried to convert the entity hit by the projectile into an EntityLiving, and there were no errors, but the console produced this message every time I tried to throw the item:
[WARNING] Fetching addPacket for removed entity
It would be most appreciated if anyone could help me with this problem.
Huh. That's awkward. I redid my EntityPileOfPoop (I'm flinging poo at people) with the same exact code and it's working now. I guess somewhere in the process of adding said code I entered something extra into it that was causing some missing entity.
It would be most appreciated if anyone could help me with this problem.
Here is the snippet of affiliated code:
EDIT: @Mazetar: Yeah I don't need it, but the problem persists.
Will do, thanks for the advice.
I didn't know that, good to know.
Problem fixed, I guess?