15 | | If you only want to write your own code ''making use of'' !WorldPainter, rather than make changes to !WorldPainter itself, then you don't need to build !WorldPainter! The !WorldPainter binaries, along with Javadoc and source code jars, are in Maven Central. Just declare the following dependency if you just need the core (and not any GUI components): |
16 | | |
17 | | {{{#!xml |
18 | | <dependency> |
19 | | <groupId>org.pepsoft.worldpainter</groupId> |
20 | | <artifactId>WPCore</artifactId> |
21 | | <version>2.7.12</version> |
22 | | </dependency> |
23 | | }}} |
24 | | |
25 | | (Of course replace the version number with the most recent version of !WorldPainter.) |
26 | | |
27 | | This will allow you to load and save !WorldPainter worlds, read their contents and make changes, Export them to Minecraft, or Import Minecraft maps as !WorldPainter worlds. This should be enough for most uses. But if you need GUI components in addition, use the following dependency. |
28 | | |
29 | | {{{#!xml |
30 | | <dependency> |
31 | | <groupId>org.pepsoft.worldpainter</groupId> |
32 | | <artifactId>WPGUI</artifactId> |
33 | | <version>2.7.12</version> |
34 | | </dependency> |
35 | | }}} |
36 | | |
37 | | For more details about these packages and other ways to declare the dependencies, see: https://mvnrepository.com/artifact/org.pepsoft.worldpainter |
| 15 | If you only want to write your own code ''making use of'' !WorldPainter, rather than make changes to !WorldPainter itself, then you don't need to build !WorldPainter! The !WorldPainter binaries, along with Javadoc and source code jars, are in Maven Central. For details, see [CodingAgainstWorldPainter this] page. |