Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. ScriptAPI
  3. Help me change from java form to js form.

Help me change from java form to js form.

Scheduled Pinned Locked Moved ScriptAPI
4 Posts 4 Posters 500 Views
  • 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.
  • ButterChickenB Offline
    ButterChickenB Offline
    ButterChicken
    wrote on last edited by ButterChicken
    #1

    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
    0
    • CzechHekC Offline
      CzechHekC Offline
      CzechHek
      wrote on last edited by
      #2

      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
      
      LolMCL 1 Reply Last reply
      1
      • CzechHekC CzechHek

        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
        
        LolMCL Offline
        LolMCL Offline
        LolMC
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • notautismatallN Offline
          notautismatallN Offline
          notautismatall
          wrote on last edited by
          #4

          @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
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          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
          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups