But it needs to generate a different value for each instance of the same entity?
Entity ID is not like block ID or item ID. Each entity currently in the game has a unique ID assigned to it, so no two zombies have the same entity ID.
It will be, soon I hope. I have a 1.5.2 version ready just doing some final bug squashing to prevent the inevitable embarrassment that my updates always are. This version will have some long awaited changes like ignites that can be faced in any direction and spikes that can be placed on any surface.
this.entityRenderMap.put(EntityPlayer.class, new RenderPlayer());
but that would be really stupid because your mod would be incompatible with forge.
And by changing the render for the player your mod would be incompatible with optifine and therefore nobody would use it. Trust me, I've been through it.
Why are you trying to find where the player looks? Are you making a pick or a super weapon? Does the player need to actually swing it and break a block like a normal pick does, because if so then you could accomplish this in a far simpler way.
0
0
Entity ID is not like block ID or item ID. Each entity currently in the game has a unique ID assigned to it, so no two zombies have the same entity ID.
0
0
It will be, soon I hope. I have a 1.5.2 version ready just doing some final bug squashing to prevent the inevitable embarrassment that my updates always are. This version will have some long awaited changes like ignites that can be faced in any direction and spikes that can be placed on any surface.
0
Yeah, unfortunately that website is gone now.
0
0
0
but that would be really stupid because your mod would be incompatible with forge.
And by changing the render for the player your mod would be incompatible with optifine and therefore nobody would use it. Trust me, I've been through it.
0
0
0
0
0
0
I use this to stop my dummy from moving.
0