Exception in thread "main" java.lang.NullPointerException at Lost.Adventure.WorldGenBasic.build(WorldGenBasic.java:198) at Lost.Adventure.Mainclass.start(Mainclass.java:45) at Lost.Adventure.Mainclass.main(Mainclass.java:78)

If you have another top folder called, for example, "res" - you can insert your blocks folder inside that top res folder and add the res folder to your build path, that way, iirc, you can leave your 'blocks/' in the path name to specify their exact locations.

Check the Eclipse project build path - make sure that the resources are not excluded by default, or the other way around that there is no inclusion of '*.java* on it. Yes - that happens in some Eclipse project setups...

Exception in thread "main" java.lang.NullPointerException at Lost.Adventure.WorldGenBasic.build(WorldGenBasic.java:198) at Lost.Adventure.Mainclass.start(Mainclass.java:50) at Lost.Adventure.Mainclass.ask(Mainclass.java:93) at Lost.Adventure.Mainclass.main(Mainclass.java:68)

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org