Posted October 27, 201410 yr in my mod im making a new entity. I have the skin working so that if give it a custom name tag, it gets the skin for the given user name(name of the name tag) so is there away i can download / get a list of user names and pick a random one then get the skin i know that to get a skin the website is http://skins.minecraft.net/MinecraftSkins/YOUR_USERNAME_HERE.png so as i said above is there away to get a list and just replace the "YOUR_USERNAME_HERE" bit with the chosen user name note that at the moment i am doing this in my EntityHelper class and just calling EntityHelper.getRandomUsername(); on spawn public static String getRandomUsername() { String[] usernames = new String[] {"Notch", "Dinnerbone", "iprosyndicte", "SynHD", "AntVenom", "Soaryn", "Wyld", "Wolv21", "Direwolf20"}; return usernames[new Random().nextInt(usernames.length)]; }
October 27, 201410 yr From wiki: "As of June 25, 2014, (...) over 15 million copies on PC have been sold." You do realise that EVEN if that would be possible (it ain't) the total weight of all nicks would be easily more than 0.5GB. What you can is to generate array of Strings corresponding to all users that ever logged on particular (your) server. Last option would be writing totally new program and send about 977 septilion (977 480 813 971 145 474 830 595 007) http-requests to mojang servers that would confirm if given user name exists. And that is considering small/big letters and numbers in nick with max 15 chars. <joke alert> http://d3dsacqprgcsqh.cloudfront.net/photo/aOqggDN_460sa_v1.gif[/img] And finally - maybe I don't understand what you wanna do, because your english is not yet mastered - please correct me and your post if I am wrong. 1.7.10 is no longer supported by forge, you are on your own.
October 27, 201410 yr Author From wiki: "As of June 25, 2014, (...) over 15 million copies on PC have been sold." You do realise that EVEN if that would be possible (it ain't) the total weight of all nicks would be easily more than 0.5GB. What you can is to generate array of Strings corresponding to all users that ever logged on particular (your) server. Last option would be writing totally new program and send about 977 septilion (977 480 813 971 145 474 830 595 007) http-requests to mojang servers that would confirm if given user name exists. And that is considering small/big letters and numbers in nick with max 15 chars. http://d3dsacqprgcsqh.cloudfront.net/photo/aOqggDN_460sa_v1.gif[/img] thanks for the reply i just thought with it just being strings it would be a small text file or something, but now that you mention it it could just hard code some names as easter eggs and get players that have played on the server / sp world
October 27, 201410 yr Skulls display player skins. Maybe look at those? Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
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.