Hi, I just created a custom projectile which works fine on singleplayer and functions in multiplayer, however in multiplayer other nearby players cannot see this projectile (they can still get hit and hurt by it).
Do I need to implement custom packets for each entity I implement, or should this be done automatically.
creating the hook: (EntityHook extends throwable)
EntityHook hook = new EntityHook(par2World, par3EntityPlayer);
par2World.spawnEntityInWorld(hook);
I have registered the renderer int he client proxy:
RenderingRegistry.registerEntityRenderingHandler(EntityHook.class, new RenderHook());
And also I registered the entity:
EntityRegistry.registerGlobalEntityID(EntityHook.class, "Hook", EntityRegistry.findGlobalUniqueEntityId());
So is there something I've missed? Would really appreciate some help.