Skip to content

jtrent238/Minecraft-Mod-Browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Minecraft-Mod-Browser

Use this to display change logs, etc in a new java window.

Setup

First, you need to Download Browser.java, and edit the following to lines ONLY, DO NOT Edit any other line.

  • Line 33 private static String URL = "URL HERE";
  • Line 34 private static String Title = "Browser Title Here";

Then whenever you want to Browser to open just invoke Browser.main();

Example of it being used in a command.

public void processCommand(ICommandSender p_71515_1_, String[] p_71515_2_)
{

    //p_71515_1_.addChatMessage(new ChatComponentTranslation("TEST", new Object[0]));
    
    
    try {
    	Browser.main();
	} catch (MalformedURLException e) {
		e.printStackTrace();
	}
    
}

To see an example of this being used Click Here

To download the sample Click Here.

About

Use this to display change logs, etc in a new java window.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages