Help me change from java form to js form.
-
plz help me, I need it now!

public static List<EntityPlayer> getTabPlayerList() { NetHandlerPlayClient var4 = mc.thePlayer.sendQueue; ArrayList list = new ArrayList(); final List players = GuiPlayerTabOverlay.field_175252_a.sortedCopy(var4.getPlayerInfoMap()); for (Object o : players) { NetworkPlayerInfo info = (NetworkPlayerInfo) o; if (info == null) { continue; } ArrayList list2 = list; list2.add(mc.theWorld.getPlayerEntityByName(info.getGameProfile().getName())); } return (List<EntityPlayer>) list; } -
I'm not really sure how could someone create something like that...
names = Java.from(mc.getNetHandler().getPlayerInfoMap()).map(function (p) {return p.getGameProfile().getName()}); entities = []; names.forEach(function (n) {entities.push(mc.theWorld.getPlayerEntityByName(n))});but that makes no sense aswell when you can just use
mc.theWorld.playerEntities -
I'm not really sure how could someone create something like that...
names = Java.from(mc.getNetHandler().getPlayerInfoMap()).map(function (p) {return p.getGameProfile().getName()}); entities = []; names.forEach(function (n) {entities.push(mc.theWorld.getPlayerEntityByName(n))});but that makes no sense aswell when you can just use
mc.theWorld.playerEntities -
@ButterChicken said in Help me change from java form to js form.:
Probably not skidded from Sigma 4.11 cracked src's Mineplex antibot
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login