Closed timbaas closed 1 year ago
The tools which use AbstractTool
call initialisePlatform()
in their main method, not in the constructor; see if that makes a difference. Otherwise I'm not sure what is happening; this seems like something that should work? Is all of WorldPainter and its dependencies on the runtime classpath? Can you send me a project that demonstrates the problem?
How is this going? Have you got it to work? Do you still need my help? Otherwise I'll close the ticket.
Closing this since I haven't heard back; feel free to open a new issue if you are still having trouble.
First of all, great project and thanks for open-sourcing!
I'm writing a script which I want to be able to generate worlds for Minecraft Java edition. I'm trying to use the
JavaMinecraftWorld
class to do some of the heavy lifting but I'm running into some problems.First I got this error when instantiating
JavaMinecraftWorld
:I did some digging and managed to solve this by extending the
AbstractTool
class and callinginitialisePlatform
in the constructor of my app.The error that followed is:
I saw that
BiomeNameHarvester
is also using theJavaMinecraftWorld
class, so I triedBiomeNameHarvester.main(new String[]{ "--create" })
but this results in anImageIO.read
error inMinecraft1_17Biomes.java:289
.I'm using the following versions:
I don't have a lot of experience with Java, so I may be missing something simple here.
Any help is greatly appreciated!