Jump to content

jjw123

Forge Modder
  • Posts

    80
  • Joined

  • Last visited

Posts posted by jjw123

  1. yep...

     

    web browsers are possibly one of the easiest useful programs to make, i think i got a very basic one in java down to about 30 lines of code... and i cant see a program like this differing from a web browser too much

  2. i understand that this isnt gonna happen, and i agree with the reasons for it not happening.

     

    however, id just like to point out that making it wouldnt be as complex as you guys are thinking :P

     

    in the JEditorPane class theres a very nice method called setPage(String url) that as you can guess will display a HTML file in the JEditorPane... just thought id mention that :)

  3. i know how daunting moving to forge is as a modder and now that i have done quite a bit with it id like to help people make that jump

     

    EDIT: where would i put it? or can someone with permissions add Javadoc under the Advanced Tutorials link

  4. i still cant get one to work without Producing MASSIVE lag

     

    heres my code example

     

    public static Runnable r1 = new Runnable() {
        	public void run() {
        		try {
        			while (true) {
        				System.out.println("Hello, world!");
        				Thread.sleep(5);
        			}
        		} catch (InterruptedException iex) {}
        	}
        };
    
        public static Thread t1 = new Thread(r1);
    
    public static void creation(World world, int depth, int height, int width, int x, int y, int z, Block block){
    
    	for (int x1 = 0; x1 < depth; x1++) {
    		for (int y1 = 0; y1 < height; y1++) {
    			for (int z1 = 0; z1 < width; z1++) {
    				// Floor
    				world.setBlockWithNotify(x + x1, y, z + z1, block.blockID);
    				t1.start();
    			}
    		}
    	}
    }

     

    im probably making such a noobish mistake, for which i apologise in advanced

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.