CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Help me change from java form to js form.

    ScriptAPI
    4
    4
    186
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ButterChicken
      ButterChicken last edited by ButterChicken

      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;
      	}
      
      1 Reply Last reply Reply Quote 0
      • CzechHek
        CzechHek last edited by

        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
        
        LolMC 1 Reply Last reply Reply Quote 1
        • LolMC
          LolMC @CzechHek last edited by

          @CzechHek i think he making antibot matrix by checking player info

          1 Reply Last reply Reply Quote 0
          • notautismatall
            notautismatall last edited by

            @ButterChicken said in Help me change from java form to js form.:

            Probably not skidded from Sigma 4.11 cracked src's Mineplex antibot

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            About
            • Terms of Service
            • Privacy Policy
            • Status
            • Contact Us
            Downloads
            • Releases
            • Source code
            • License
            Docs
            • Tutorials
            • CustomHUD
            • AutoSettings
            • ScriptAPI
            Community
            • Forum
            • Guilded
            • YouTube
            • Twitter
            • D.Tube