Posted January 27, 201510 yr In EntityPlayerMP There's a method .getSpectatingEntity() to get the entity the player is spectating, my problem is that I need to get that on the client side (From minecraftInstance.thePlayer) which is EntityPlayerSP, I can't find a method for it anywhere and when trying to cast EntityPlayerSP to EntityPlayerMP you can't, I can however cast EntityPlayerSP to EntityPlayer, then EntityPlayer to EntityPlayerMP, however for some reason in-game (Doesn't show it in eclipse) It thinks I'm casting EntityPlayerSP to EntityPlayerMP and crashes. So anyone know how to get what the player is spectating from the client side?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.