• 0

    posted a message on [1.12.2] Elytra Boost Mod!

    So umm... I finally updated this mod I guess :3

    Posted in: Minecraft Mods
  • 0

    posted a message on [1.12.2] Elytra Boost Mod!
    Okay, I made a big mistake! (for the 1.9.4+ version) (now fixed in latest 1.9.4 version)
    So, as many of you who have downloaded the mod may have realized it boosts when you are not using the elytra... the reason for this?
    I uploaded the wrong file! (only to curse but I imagine this is where I am getting the majority of downloads)
    This might have been obvious to some of you considering the download page said 'Release 1.2.3' and you weirdly got a file that said 'elytraBoost-1.2' and none of you told me :3. Just kidding, it's my fault entirely.
    It's fixed now!
    Posted in: Minecraft Mods
  • 0

    posted a message on Realistic Fluids Overhaul - Finite Water and Stuff [WIP]

    I just want to say that this seems really cool and I can't wait until it is finished

    Posted in: WIP Mods
  • 0

    posted a message on [WIP][Stable]ECCSUM Mod - Extra Config and Client-Side Utilities Mod
    Welcome to the ECCSUM Mod's Thread!

    What does this mod do?

    Quite simply it adds some utilities and GUIs designed to help the user.



    (if the widget is being weird here is the curse mods page , project page, and latest download page)


    The mod adds some features that I deemed would be helpful for users.
    The mod is in the early alpha stages but I do believe it to be currently stable.

    Features overview:


    Load Tune: You can put midi files into the '.minecraft\LoadTunes' folder and play one of them when your game finishes loading. (Good if you have many mods). It comes with three tunes preloaded, that were created by me. If you want to make your own tune, why don't you have a look at Online Sequencer? (You can turn it off in the config.)


    Chatlog: In the config, you can turn on and off whether you wish to log the chat your client receives. The logged chat is put in the 'ChatLogs//' folder in a plain text file with a '.log' file extension and a name containing the current date and time.(from when you logged in).


    Auto Elytra Equip: Do you ever try to jump off a building to fly with your elytra but forget to engage it? Well, now you don't have to worry as you will start automatically after a delay you specify in the config. (You can turn this off!)


    Quick commands GUI: Quickly do commands in-game with a GUI with some predefined commands (and more coming soon).



    Extra Options: Now you can change a few more options with the in-game options GUI. Including Brightness, Render Distance, Field of View, Toggling many in-game GUI elements, and a few more options.


    Long chat: Allows you to send messages quicker by allowing a chat box up to 10,000 characters in length (Please note: it splits these into separate messages and if you have an input with no spaces it will only send the first 100 characters).


    Images:


    Videos:



    None yet!


    Planned Features:

    • Toggleable Custom GUI + Move vanilla GUI Features (+replace vanilla hearts with bar)
    • More Quick Commands
    • Clone Helper to more easily clone
    • Mob Spawn Block Highlighter
    • Tool durability Counter (to be shown over hotbar)
    • Arrow counter
    • Armour Durability counter
    • Custom Crosshairs
    • Setblock Helper
    • Summon Helper
    • Give Helper
    • Improved GUI appearance
    • Improved localization options
    • And Probably Many More things

    Possible to exist in future releases but unplanned:

    • Auto Tool
    • Toggle Sneak
    • Make torches (and other objects that give off light) that are held in the hand give off light

    Old versions:


    None Yet!

    Posted in: WIP Mods
  • 0

    posted a message on What is the .class file of the villager in minecraft .jar?

    If you haven't already, you should have a look at MCP and use that.

    Posted in: Modification Development
  • 0

    posted a message on Reduce number of times almost identical pieces of code are written. (For gui that has player names on buttons)

    Thanks for the suggestion but I figured out a solution that adds an infinite number of pages :/ earlier and I forgot to look at the thread... I mean my solution is really messy but it gets the job done


    My code:


    package shoelaces.eccsum.gui;
    
    import java.io.IOException;
    import java.text.Collator;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    import org.apache.commons.lang3.text.WordUtils;
    import org.lwjgl.opengl.GL11;
    
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.gui.GuiButton;
    import net.minecraft.client.gui.GuiScreen;
    import net.minecraft.client.network.NetworkPlayerInfo;
    import shoelaces.eccsum.GlobalVariables;
    import shoelaces.eccsum.config.Config;
    
    public class GuiMsg extends GuiScreen {
    	Minecraft		mc			= Minecraft.getMinecraft();
    	int				guiWidth	= 256;
    	int				guiHeight	= 256;
    
    	GuiButton		doneButton;
    
    	private String	setUsernameOfReciever;
    
    	@Override
    	public void drawScreen(int x, int y, float ticks) {
    		int guiX = (width - guiWidth) / 2;
    		int guiY = (height - guiHeight) / 2;
    
    		GL11.glColor4f(1, 1, 1, 1);
    		drawWorldBackground(50);
    		super.drawScreen(x, y, ticks);
    		fontRendererObj.drawString("Message Gui", width / 2 - 30, height / 200 * 7 + 10, 0xFF925B);
    		fontRendererObj.drawString("Page: " + GlobalVariables.GuiMsgPage, width / 2 - 18, height / 200 * 7 + 20, 0xFF925B);
    	}
    
    	@Override
    	public void initGui() {
    		int guiX = (width - guiWidth) / 2;
    		int guiY = (height - guiHeight) / 2;
    		int playerCount = 0;
    		buttonList.clear();
    		buttonList.add(doneButton = new GuiButton(0, width / 2 - 75, height / 200 * 1, 150, 20, "Back"));
    		buttonList.add(new GuiButton(1, width / 2 - 75, (height / 200 * 1) + 20, 40, 20, "<---"));
    		buttonList.add(new GuiButton(2, width / 2 + 35, (height / 200 * 1) + 20, 40, 20, "--->"));
    
    		List<String> playerNames = new ArrayList<String>();
    
    		if (mc.theWorld.isRemote) {
    			Collection<NetworkPlayerInfo> playersMP = Minecraft.getMinecraft().getConnection().getPlayerInfoMap();
    			playersMP.forEach((loadedPlayer) -> {
    				String loadedPlayerName = loadedPlayer.getGameProfile().getName();
    				playerNames.add(loadedPlayerName);
    			});
    		} else {
    
    			Iterable playersSP = mc.theWorld.playerEntities;
    			while (playersSP.iterator().hasNext()) {
    				String loadedPlayerName = playersSP.iterator().next().toString();
    				playerNames.add(loadedPlayerName);
    			}
    		}
    		java.util.Collections.sort(playerNames, Collator.getInstance());
    		for (String playerName : playerNames) {
    			// start page 1
    			if (playerCount <= 11) {
    				if (GlobalVariables.GuiMsgPage == 1) {
    					buttonList.add(new GuiButton(playerCount + 3, width / 2 - 75 - 150, (height / 20 * 2) + 13 + (playerCount * 20), 150, 20, playerName));
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 12 && playerCount <= 24) {
    				if (GlobalVariables.GuiMsgPage == 1) {
    					if (playerCount != 12) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 13) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 25 && playerCount < 38) {
    				if (GlobalVariables.GuiMsgPage == 1) {
    					if (playerCount != 25) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 26) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			// start page 2
    			if (playerCount >= 38 && playerCount < 51) {
    				if (GlobalVariables.GuiMsgPage == 2) {
    					if (playerCount != 38) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 39) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 51 && playerCount < 64) {
    				if (GlobalVariables.GuiMsgPage == 2) {
    					if (playerCount != 51) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 52) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 64 && playerCount < 77) {
    				if (GlobalVariables.GuiMsgPage == 2) {
    					if (playerCount != 64) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 65) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			// start page 4
    			if (playerCount >= 77 && playerCount < 90) {
    				if (GlobalVariables.GuiMsgPage == 3) {
    					if (playerCount != 77) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 78) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 90 && playerCount < 103) {
    				if (GlobalVariables.GuiMsgPage == 3) {
    					if (playerCount != 90) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 91) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 103 && playerCount < 116) {
    				if (GlobalVariables.GuiMsgPage == 3) {
    					if (playerCount != 103) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 104) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			// start page 4
    			if (playerCount >= 116 && playerCount < 129) {
    				if (GlobalVariables.GuiMsgPage == 4) {
    					if (playerCount != 116) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 117) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 13 && playerCount < 129 + 13) {
    				if (GlobalVariables.GuiMsgPage == 4) {
    					if (playerCount != 116 + 13) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 130) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 26 && playerCount < 129 + 26) {
    				if (GlobalVariables.GuiMsgPage == 4) {
    					if (playerCount != 116 + 26) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 143) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			// start page 5
    			if (playerCount >= 116 + 39 && playerCount < 129 + 39) {
    				if (GlobalVariables.GuiMsgPage == 5) {
    					if (playerCount != 116 + 39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - (117 + 39)) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 13 + 39 && playerCount < 129 + 13 + 39) {
    				if (GlobalVariables.GuiMsgPage == 5) {
    					if (playerCount != 116 + 13 + 39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - (130 + 39)) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 26 + 39 && playerCount < 129 + 26 + 39) {
    				if (GlobalVariables.GuiMsgPage == 5) {
    					if (playerCount != 116 + 26 + 39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - (143 + 39)) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			// start page 6
    			if (playerCount >= 116 + 39 + 39 && playerCount < 129 + 39 + 39) {
    				if (GlobalVariables.GuiMsgPage == 6) {
    					if (playerCount != 116 + 39 + 39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - (117 + 39 + 39)) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 13 + 39 + 39 && playerCount < 129 + 13 + 39 + 39) {
    				if (GlobalVariables.GuiMsgPage == 6) {
    					if (playerCount != 116 + 13 + 39 + 39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - (130 + 39 + 39)) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 26 + 39 + 39 && playerCount < 129 + 26 + 39 + 39) {
    				if (GlobalVariables.GuiMsgPage == 6) {
    					if (playerCount != 116 + 26 + 39 + 39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - (143 + (39 * 2))) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			// start page 7
    			int currentPage = 7;
    			if (playerCount >= 116 + (39 * (currentPage - 4)) && playerCount < 129 + 39 * (currentPage - 4)) {
    				if (GlobalVariables.GuiMsgPage == currentPage) {
    					if (playerCount != 116 + 39 * (currentPage - 4)) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - (117 + 39 * (currentPage - 4))) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 13 + (39 * (currentPage - 4)) && playerCount < 129 + 13 + (39 * (currentPage - 4))) {
    				if (GlobalVariables.GuiMsgPage == currentPage) {
    					if (playerCount != 116 + 13 + (39 * (currentPage - 4))) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - (130 + (39 * (currentPage - 4)))) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 26 + (39 * (currentPage - 4)) && playerCount < 129 + 26 + (39 * (currentPage - 4))) {
    				if (GlobalVariables.GuiMsgPage == currentPage) {
    					if (playerCount != 116 + 26 + (39 * (currentPage - 4))) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - (143 + (39 * (currentPage - 4)))) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			currentPage = currentPage + 1;// sets to the next page
    			// start page 8
    			if (playerCount >= 116 + (39 * (currentPage - 4)) && playerCount < 129 + 39 * (currentPage - 4)) {
    				if (GlobalVariables.GuiMsgPage == currentPage) {
    					if (playerCount != 116 + 39 * (currentPage - 4)) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - (117 + 39 * (currentPage - 4))) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 13 + (39 * (currentPage - 4)) && playerCount < 129 + 13 + (39 * (currentPage - 4))) {
    				if (GlobalVariables.GuiMsgPage == currentPage) {
    					if (playerCount != 116 + 13 + (39 * (currentPage - 4))) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - (130 + (39 * (currentPage - 4)))) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 + 26 + (39 * (currentPage - 4)) && playerCount < 129 + 26 + (39 * (currentPage - 4))) {
    				if (GlobalVariables.GuiMsgPage == currentPage) {
    					if (playerCount != 116 + 26 + (39 * (currentPage - 4))) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - (143 + (39 * (currentPage - 4)))) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			currentPage = currentPage + 1;// sets to the next page
    			// start of just adding loads of new pages with copy paste
    
    			int noOfPlayers = playerNames.size();
    			while (currentPage * 12 < noOfPlayers) {
    
    				// new page :3
    				if (playerCount >= 116 + (39 * (currentPage - 4)) && playerCount < 129 + 39 * (currentPage - 4)) {
    					if (GlobalVariables.GuiMsgPage == currentPage) {
    						if (playerCount != 116 + 39 * (currentPage - 4)) {
    							buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - (117 + 39 * (currentPage - 4))) * 20), 150, 20, playerName));
    						}
    					}
    					playerCount = playerCount + 1;
    				}
    				if (playerCount >= 116 + 13 + (39 * (currentPage - 4)) && playerCount < 129 + 13 + (39 * (currentPage - 4))) {
    					if (GlobalVariables.GuiMsgPage == currentPage) {
    						if (playerCount != 116 + 13 + (39 * (currentPage - 4))) {
    							buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - (130 + (39 * (currentPage - 4)))) * 20), 150, 20, playerName));
    						}
    					}
    					playerCount = playerCount + 1;
    				}
    				if (playerCount >= 116 + 26 + (39 * (currentPage - 4)) && playerCount < 129 + 26 + (39 * (currentPage - 4))) {
    					if (GlobalVariables.GuiMsgPage == currentPage) {
    						if (playerCount != 116 + 26 + (39 * (currentPage - 4))) {
    							buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - (143 + (39 * (currentPage - 4)))) * 20), 150, 20, playerName));
    						}
    					}
    					playerCount = playerCount + 1;
    				}
    				currentPage = currentPage + 1;
    			}
    		}
    
    		super.initGui();
    
    	}
    
    	@Override
    	public boolean doesGuiPauseGame() {
    		return false;
    	}
    
    	@Override
    	protected void actionPerformed(GuiButton button) throws IOException {
    
    		if (button.id != 1 && button.id != 2 && button.id != 0) {
    			System.out.println(button.displayString);
    			setUsernameOfReciever = button.displayString;
    			Thread MultipleMsgRunnable = new Thread(new MultipleMsgRunnable(), "Multiple Message Thread");
    			MultipleMsgRunnable.start();
    
    		}
    
    		switch (button.id) {
    			case 2:
    				GlobalVariables.GuiMsgPage = GlobalVariables.GuiMsgPage + 1;
    				Minecraft.getMinecraft().displayGuiScreen(new GuiMsg());
    				break;
    			case 1:
    				GlobalVariables.GuiMsgPage = GlobalVariables.GuiMsgPage - 1;
    				if (GlobalVariables.GuiMsgPage < 1) {
    					GlobalVariables.GuiMsgPage = 1;
    				}
    				Minecraft.getMinecraft().displayGuiScreen(new GuiMsg());
    				break;
    			case 0:
    				Minecraft.getMinecraft().displayGuiScreen(new GuiQuickCommands());
    				break;
    		}
    		super.actionPerformed(button);
    	}
    
    	@Override
    	public void onGuiClosed() {
    		super.onGuiClosed();
    	}
    
    	public class MultipleMsgRunnable implements Runnable {
    		public void run() {
    			Thread thread = Thread.currentThread();
    			String usernameOfReciever = setUsernameOfReciever;
    			String wrappedInput = WordUtils.wrap(GlobalVariables.message, 78);
    			String readyWrappedInput = wrappedInput.replaceAll(System.lineSeparator(), Config.SplitChar);
    			String[] message = readyWrappedInput.split(Config.SplitChar);//
    			for (int x = 0; x < message.length; x++) {
    				Minecraft.getMinecraft().thePlayer.sendChatMessage("/msg " + usernameOfReciever + " " + (message[x]));
    				try {
    					thread.sleep(Config.chatNoSpamDelay);
    				} catch (InterruptedException e) {
    					e.printStackTrace();
    				}
    
    			}
    			usernameOfReciever = "";
    
    		}
    	}
    
    }


    Posted in: Modification Development
  • 0

    posted a message on Reduce number of times almost identical pieces of code are written. (For gui that has player names on buttons)

    Okay, so I have this code that makes a new GUI button for each players' username of the server I am on and then splits them up into different "Pages" (it's an if statement that adds certain buttons to the screen depending on what number an int is on)

    I want to make it so it can list up to 1000 players, so I will have to add about another 20 pages, so any help would be greatly appreciated.


    Currently, it's very clunky (I mean I have to change four values to go to the next page and change three more on each page) and actually rather difficult to increase the number of pages (only because of maths, which is not exactly my strong suit)... My code is a tad messy but I was wondering if anyone could offer a less messy alternative solution...


    (Note my code is functional, so feel free to take parts of it (but if you are planning to publically release your mod please show you used some of my code in your credits or attribute me somewhere))


    Messy part I wish to shorten:


    		for (String playerName : playerNames) {
    			if (playerCount <= 11) {
    				if (GlobalVariables.GuiMsgPage == 1) {
    					buttonList.add(new GuiButton(playerCount + 3, width / 2 - 75 - 150, (height / 20 * 2) + 13 + (playerCount * 20), 150, 20, playerName));
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 12 && playerCount <= 24) {
    				if (GlobalVariables.GuiMsgPage == 1) {
    					if (playerCount != 12) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 13) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 25 && playerCount < 38) {
    				if (GlobalVariables.GuiMsgPage == 1) {
    					if (playerCount != 25) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 26) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 38 && playerCount < 51) {
    				if (GlobalVariables.GuiMsgPage == 2) {
    					if (playerCount != 38) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 39) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 51 && playerCount < 64) {
    				if (GlobalVariables.GuiMsgPage == 2) {
    					if (playerCount != 51) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 52) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 64 && playerCount < 77) {
    				if (GlobalVariables.GuiMsgPage == 2) {
    					if (playerCount != 64) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 65) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 77 && playerCount < 90) {
    				if (GlobalVariables.GuiMsgPage == 3) {
    					if (playerCount != 77) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 78) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 90 && playerCount < 103) {
    				if (GlobalVariables.GuiMsgPage == 3) {
    					if (playerCount != 90) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 91) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 103 && playerCount < 116) {
    				if (GlobalVariables.GuiMsgPage == 3) {
    					if (playerCount != 103) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 104) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116 && playerCount < 129) {
    				if (GlobalVariables.GuiMsgPage == 4) {
    					if (playerCount != 116) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 117) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116+13 && playerCount < 129+13) {
    				if (GlobalVariables.GuiMsgPage == 4) {
    					if (playerCount != 116+13) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 130) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116+26 && playerCount < 129+26) {
    				if (GlobalVariables.GuiMsgPage == 4) {
    					if (playerCount != 116+26) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) +150, (height / 20 * 2) + 13 + ((playerCount - 143) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116+39 && playerCount < 129+39) {
    				if (GlobalVariables.GuiMsgPage == 5) {
    					if (playerCount != 116+39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - (117+39)) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116+13+39 && playerCount < 129+13+39) {
    				if (GlobalVariables.GuiMsgPage == 5) {
    					if (playerCount != 116+13+39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - (130+39)) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    			if (playerCount >= 116+26+39 && playerCount < 129+26+39) {
    				if (GlobalVariables.GuiMsgPage == 5) {
    					if (playerCount != 116+26+39) {
    						buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) +150, (height / 20 * 2) + 13 + ((playerCount - (143+39)) * 20), 150, 20, playerName));
    					}
    				}
    				playerCount = playerCount + 1;
    			}
    
    		}






    My whole class, so you have some context/if anyone wants to copy anything:

    package shoelaces.eccsum.gui;
    
    import java.io.IOException;
    import java.text.Collator;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    import org.lwjgl.opengl.GL11;
    
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.gui.GuiButton;
    import net.minecraft.client.gui.GuiScreen;
    import net.minecraft.client.network.NetworkPlayerInfo;
    import shoelaces.eccsum.GlobalVariables;
    
    public class GuiMsg extends GuiScreen {
     Minecraft mc = Minecraft.getMinecraft();
     int guiWidth = 256;
     int guiHeight = 256;
     
     int usernamesNumberIncrease;
    
     GuiButton doneButton;
     public String usernameOfReciever;
     public String msgContents;
    
     @Override
     public void drawScreen(int x, int y, float ticks) {
     int guiX = (width - guiWidth) / 2;
     int guiY = (height - guiHeight) / 2;
    
     GL11.glColor4f(1, 1, 1, 1);
     drawWorldBackground(50);
     super.drawScreen(x, y, ticks);
     fontRendererObj.drawString("Page: " + GlobalVariables.GuiMsgPage, width / 2 - 18, height / 200 * 7 + 20, 0xFF925B);
     }
    
     @Override
     public void initGui() {
    
     int guiX = (width - guiWidth) / 2;
     int guiY = (height - guiHeight) / 2;
     int playerCount = 0;
     buttonList.clear();
     buttonList.add(doneButton = new GuiButton(0, width / 2 - 75, height / 200 * 1, 150, 20, "Back"));
     buttonList.add(doneButton = new GuiButton(1, width / 2 - 75, (height / 200 * 1) + 20, 40, 20, "<---"));
     buttonList.add(doneButton = new GuiButton(2, width / 2 + 35, (height / 200 * 1) + 20, 40, 20, "--->"));
    
     List<String> playerNames = new ArrayList<String>();
    
     if (mc.theWorld.isRemote) {
     Collection<NetworkPlayerInfo> playersMP = Minecraft.getMinecraft().getConnection().getPlayerInfoMap();
     playersMP.forEach((loadedPlayer) -> {
     String loadedPlayerName = loadedPlayer.getGameProfile().getName();
     playerNames.add(loadedPlayerName);
     });
     } else {
    
     Iterable playersSP = mc.theWorld.playerEntities;
     while (playersSP.iterator().hasNext()) {
     String loadedPlayerName = playersSP.iterator().next().toString();
     playerNames.add(loadedPlayerName);
     }
     }
     java.util.Collections.sort(playerNames, Collator.getInstance());
     for (String playerName : playerNames) {
     if (playerCount <= 11) {
     if (GlobalVariables.GuiMsgPage == 1) {
     buttonList.add(new GuiButton(playerCount + 3, width / 2 - 75 - 150, (height / 20 * 2) + 13 + (playerCount * 20), 150, 20, playerName));
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 12 && playerCount <= 24) {
     if (GlobalVariables.GuiMsgPage == 1) {
     if (playerCount != 12) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 13) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 25 && playerCount < 38) {
     if (GlobalVariables.GuiMsgPage == 1) {
     if (playerCount != 25) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 26) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 38 && playerCount < 51) {
     if (GlobalVariables.GuiMsgPage == 2) {
     if (playerCount != 38) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 39) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 51 && playerCount < 64) {
     if (GlobalVariables.GuiMsgPage == 2) {
     if (playerCount != 51) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 52) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 64 && playerCount < 77) {
     if (GlobalVariables.GuiMsgPage == 2) {
     if (playerCount != 64) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 65) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 77 && playerCount < 90) {
     if (GlobalVariables.GuiMsgPage == 3) {
     if (playerCount != 77) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 78) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 90 && playerCount < 103) {
     if (GlobalVariables.GuiMsgPage == 3) {
     if (playerCount != 90) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 91) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 103 && playerCount < 116) {
     if (GlobalVariables.GuiMsgPage == 3) {
     if (playerCount != 103) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) + 150, (height / 20 * 2) + 13 + ((playerCount - 104) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 116 && playerCount < 129) {
     if (GlobalVariables.GuiMsgPage == 4) {
     if (playerCount != 116) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - 117) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 116+13 && playerCount < 129+13) {
     if (GlobalVariables.GuiMsgPage == 4) {
     if (playerCount != 116+13) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - 130) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 116+26 && playerCount < 129+26) {
     if (GlobalVariables.GuiMsgPage == 4) {
     if (playerCount != 116+26) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) +150, (height / 20 * 2) + 13 + ((playerCount - 143) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 116+39 && playerCount < 129+39) {
     if (GlobalVariables.GuiMsgPage == 5) {
     if (playerCount != 116+39) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) - 150, (height / 20 * 2) + 13 + ((playerCount - (117+39)) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 116+13+39 && playerCount < 129+13+39) {
     if (GlobalVariables.GuiMsgPage == 5) {
     if (playerCount != 116+13+39) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75), (height / 20 * 2) + 13 + ((playerCount - (130+39)) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
     if (playerCount >= 116+26+39 && playerCount < 129+26+39) {
     if (GlobalVariables.GuiMsgPage == 5) {
     if (playerCount != 116+26+39) {
     buttonList.add(new GuiButton(playerCount + 3, (width / 2 - 75) +150, (height / 20 * 2) + 13 + ((playerCount - (143+39)) * 20), 150, 20, playerName));
     }
     }
     playerCount = playerCount + 1;
     }
    
     }
    
     super.initGui();
    
     }
    
     @Override
     public boolean doesGuiPauseGame() {
     return false;
     }
    
     @Override
     protected void actionPerformed(GuiButton button) throws IOException {
     
     if (button.id!=1&&button.id!=2&&button.id!=0){
     System.out.println(button.displayString);
     }
     
     switch (button.id) {
     case 2:
     GlobalVariables.GuiMsgPage = GlobalVariables.GuiMsgPage + 1;
     Minecraft.getMinecraft().displayGuiScreen(new GuiMsg());
     break;
     case 1:
     GlobalVariables.GuiMsgPage = GlobalVariables.GuiMsgPage - 1;
     if (GlobalVariables.GuiMsgPage<1){
     GlobalVariables.GuiMsgPage=1;
     }
     Minecraft.getMinecraft().displayGuiScreen(new GuiMsg());
     break;
     case 0:
     Minecraft.getMinecraft().displayGuiScreen(new GuiQuickCommands());
     break;
     }
     super.actionPerformed(button);
     }
    
     @Override
     public void onGuiClosed() {
     super.onGuiClosed();
     }
    }
    Posted in: Modification Development
  • 0

    posted a message on NullPointerException on objectMouseOver.getblockPos()

    Okay, so I am 90% sure that I am missing something really obvious... could someone tell me what I am missing?

    		if (Keybinds.regionSelector1.isPressed()){
    				GlobalVariables.pos1x = mc.objectMouseOver.getBlockPos().getX();
    				GlobalVariables.pos1y = mc.objectMouseOver.getBlockPos().getY();
    				GlobalVariables.pos1z = mc.objectMouseOver.getBlockPos().getZ();
    				mc.thePlayer.addChatComponentMessage(new TextComponentString(TextFormatting.GOLD + "Position 1 set to: X:"+GlobalVariables.pos1x+" Y:"+GlobalVariables.pos1y+" Z:"+GlobalVariables.pos1z));
    		}
    Posted in: Modification Development
  • 0

    posted a message on Get Player List And Create Gui with each player name on a button

    Thanks for the suggestion! I will try it in a bit.

    Posted in: Modification Development
  • 0

    posted a message on Get Player List And Create Gui with each player name on a button

    Okay. So I am making a mod, designed to assist server operators and things, something I want to do in the mod is to grab the player list and put each player name on a button in a GUI at even spacing from each other.


    I found out how to get all the people on the player list the other day:

            if  (Keybinds.testKey.isPressed()){
            	Collection<NetworkPlayerInfo>playersC=Minecraft.getMinecraft().getConnection().getPlayerInfoMap();
            	playersC.forEach((loadedPlayer) -> {
        			String loadedPlayerName = loadedPlayer.getGameProfile().getName();
        			System.out.println(loadedPlayerName);
        		});
            	};
    	}


    This (^^) code prints each player's name to the console but that's obviously not very helpful for what I want to do.


    (code below is not actual code but just an example of what I was thinking of doing, like along those lines)


    I was thinking along the lines of making some strings (say 100 or so) and setting each username to one of those strings


    //declare the int somewhere else
    int X = 0;
    String 1;
    String 2;
    String 3;
    String 4;
    //ect
    
    
    //inside the username reciever
    StringX = loadedPlayerName;
    X = X+1;
    
    //after getting all the usernames
    X=0;

    but I couldn't figure out how I might do that, so if anyone could offer any advice as to how I could do that that would be great.

    Posted in: Modification Development
  • 0

    posted a message on Get list of current players in the game from the client side and do something with each

    Okay, thank you all for the help! I got it working but I changed it a bit around!

    For future reference for anyone that stumbles upon this thread this is what it is now:

            if  (Keybinds.testKey.isPressed()){
            	Collection<NetworkPlayerInfo>playersC=Minecraft.getMinecraft().getConnection().getPlayerInfoMap();
            	playersC.forEach((loadedPlayer) -> {
        			String loadedPlayerName = loadedPlayer.getGameProfile().getName();
        			System.out.println(loadedPlayerName);
        		});
            	};
    	}
    Posted in: Modification Development
  • 0

    posted a message on Get list of current players in the game from the client side and do something with each
    Quote from Choonster»


    It's not possible for that to throw a NullPointerException unless someone called System.setOut with null as the argument. Are you sure your line numbers are correct?



    I'm like 90% sure, but I have moved some of my code around, let me reproduce the bug and I will check again.


    EDIT: I tried to reproduce it but it didn't happen again (eclipse crashed because of my computer dying a little and rolled back and then now it no longer seems to be happening )

    Posted in: Modification Development
  • 0

    posted a message on Get list of current players in the game from the client side and do something with each
    Quote from Choonster»

    A NullPointerException should be easy to debug. What could be null on line 48 of KeyInputHandler? Why would it be null?


    I don't know what's on line 48, so I can't answer these questions for you.


    The content of line 48 is:

           			System.out.println(a);
    Posted in: Modification Development
  • 0

    posted a message on Get list of current players in the game from the client side and do something with each
    Quote from Choonster»

    The code in the OP should work. What exactly is going wrong?


    This client command works without issue.


    To put it bluntly:
    CrashReport:


    ---- Minecraft Crash Report ----
    // On the bright side, I bought you a teddy bear!
    
    Time: 17/10/16 19:48
    Description: Unexpected error
    
    java.lang.NullPointerException: Unexpected error
    	at shoelaces.eccsum.keybinds.KeyInputHandler.onKeyInput(KeyInputHandler.java:48)
    	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_6_KeyInputHandler_onKeyInput_KeyInputEvent.invoke(.dynamic)
    	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
    	at net.minecraftforge.fml.common.FMLCommonHandler.fireKeyInput(FMLCommonHandler.java:555)
    	at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2055)
    	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846)
    	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1118)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:406)
    	at net.minecraft.client.main.Main.main(Main.java:118)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    	at GradleStart.main(GradleStart.java:26)
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Thread: Client thread
    Stacktrace:
    	at shoelaces.eccsum.keybinds.KeyInputHandler.onKeyInput(KeyInputHandler.java:48)
    	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_6_KeyInputHandler_onKeyInput_KeyInputEvent.invoke(.dynamic)
    	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
    	at net.minecraftforge.fml.common.FMLCommonHandler.fireKeyInput(FMLCommonHandler.java:555)
    	at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2055)
    
    -- Affected level --
    Details:
    	Level name: MpServer
    	All players: 1 total; [EntityPlayerSP['Shoelaces_'/219997, l='MpServer', x=-115.78, y=74.00, z=-198.88]]
    	Chunk stats: MultiplayerChunkCache: 441, 441
    	Level seed: 0
    	Level generator: ID 00 - default, ver 1. Features enabled: false
    	Level generator options: 
    	Level spawn location: World: (45,68,-105), Chunk: (at 13,4,7 in 2,-7; contains blocks 32,0,-112 to 47,255,-97), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    	Level time: 170033535 game time, 106254000 day time
    	Level dimension: 0
    	Level storage version: 0x00000 - Unknown?
    	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    	Forced entities: 10 total; [EntityRabbit['Rabbit'/220001, l='MpServer', x=-112.49, y=71.00, z=-216.52], EntityChicken['Chicken'/220033, l='MpServer', x=-105.46, y=73.00, z=-157.46], EntityRabbit['Rabbit'/220000, l='MpServer', x=-118.87, y=71.00, z=-245.38], EntityArmorStand['Armor Stand'/220039, l='MpServer', x=-104.50, y=63.00, z=-261.50], EntityCow['Cow'/220015, l='MpServer', x=-80.36, y=71.00, z=-234.64], EntityChicken['Chicken'/220014, l='MpServer', x=-82.87, y=6.00, z=-189.70], EntityPlayerSP['Shoelaces_'/219997, l='MpServer', x=-115.78, y=74.00, z=-198.88], EntityCow['Cow'/115, l='MpServer', x=-72.45, y=83.00, z=-185.45], EntityCow['Cow'/219999, l='MpServer', x=-150.50, y=71.00, z=-211.50], EntityRabbit['Rabbit'/219998, l='MpServer', x=-100.20, y=69.00, z=-204.20]]
    	Retry entities: 0 total; []
    	Server brand: Spigot
    	Server type: Non-integrated multiplayer server
    Stacktrace:
    	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:451)
    	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2779)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:435)
    	at net.minecraft.client.main.Main.main(Main.java:118)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    	at GradleStart.main(GradleStart.java:26)
    
    -- System Details --
    Details:
    	Minecraft Version: 1.10.2
    	Operating System: Windows 8.1 (amd64) version 6.3
    	Java Version: 1.8.0_45, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    	Memory: 481437816 bytes (459 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    	FML: MCP 9.32 Powered by Forge 12.18.2.2099 4 mods loaded, 4 mods active
    	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    	UCHIJA	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    	UCHIJA	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) 
    	UCHIJA	Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) 
    	UCHIJA	eccsum{0.1-alpha} [Extra Config and Client-Side Utilities Mod] (bin) 
    	Loaded coremods (and transformers): 
    	GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.14008 Compatibility Profile Context 21.19.137.1' Renderer: 'AMD Radeon HD 7800 Series'
    	Launched Version: 1.10.2
    	LWJGL: 2.9.4
    	OpenGL: AMD Radeon HD 7800 Series GL version 4.5.14008 Compatibility Profile Context 21.19.137.1, ATI Technologies Inc.
    	GL Caps: Using GL 1.3 multitexturing.
    Using GL 1.3 texture combiners.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Shaders are available because OpenGL 2.1 is supported.
    VBOs are available because OpenGL 1.5 is supported.
    
    	Using VBOs: Yes
    	Is Modded: Definitely; Client brand changed to 'fml,forge'
    	Type: Client (map_client.txt)
    	Resource Packs: 
    	Current Language: English (US)
    	Profiler Position: N/A (disabled)
    	CPU: 4x AMD Athlon(tm) X4 860K Quad Core Processor 


    Posted in: Modification Development
  • 0

    posted a message on Get list of current players in the game from the client side and do something with each

    Yeah, I can try it but I want to be able to get the list of players from normal multiplayer as well as lan. Thanks anyways

    Posted in: Modification Development
  • To post a comment, please or register a new account.