Posted September 8, 201213 yr Is there a EntityPlayer instance? not EntityClientPlayerMP, EntityPlayerSP or EntityPlayerMP but one for the basic EntityPlayer? http://i.imgur.com/Hppni.png[/img]
September 8, 201213 yr Possibly, but probably not specifically. All of those are instances of EntityPlayer, so, kinda. Why? I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
September 8, 201213 yr Author Nevermind I think I need to use datawatchers for doing it... http://i.imgur.com/Hppni.png[/img]
September 10, 201213 yr There's one for MP which you should be using for each player in a game/lan. MinecraftServer minecraft = FMLClientHandler.instance().getServer(); String allNames[] = minecraft.getAllUsernames().clone(); for(int i = 0; i < allNames.length; i++) { EntityPlayerMP player = minecraft.getConfigurationManager().getPlayerForUsername(allNames[i]); }
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.