Skip to content

Commit bcb339f

Browse files
committed
Version bump: 2.0.0
1 parent 12013bb commit bcb339f

File tree

9 files changed

+51
-12
lines changed

9 files changed

+51
-12
lines changed

BlockMap-cli/src/main/java/de/piegames/blockmap/standalone/VersionProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class VersionProvider implements IVersionProvider {
66

77
/* This part of the code gets generated automatically through `gradle generateSources`. Do not modify! */
88
// $REPLACE_START
9-
public static final String VERSION = "2.0.0-snapshot";
9+
public static final String VERSION = "2.0.0";
1010
// $REPLACE_END
1111

1212
@Override

BlockMap-gui/src/main/java/de/piegames/blockmap/gui/VersionProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
public class VersionProvider {
44
/* This part of the code gets generated automatically through `gradle generateSources`. Do not modify! */
55
// $REPLACE_START
6-
public static final String VERSION = "2.0.0-snapshot";
6+
public static final String VERSION = "2.0.0";
77
// $REPLACE_END
88
}

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ BlockMap hasn't been packaged for other distros yet (looking for maintainers).
5050

5151
The GUI version should just run by (double)clicking it. Otherwise run it through:
5252

53-
java -jar BlockMap-gui-1.6.2.jar
53+
java -jar BlockMap-gui-2.0.0.jar
5454

5555
to start. If you installed BlockMap through a package manager, search for it in your launcher or menu.
5656

@@ -68,22 +68,17 @@ to start. If you installed BlockMap through a package manager, search for it in
6868
If you want to use BlockMap through the command line without,
6969

7070
# For general usage help
71-
java -jar BlockMap-cli-1.6.2.jar help
71+
java -jar BlockMap-cli-2.0.0.jar help
7272
# For help about rendering worlds to a folder
73-
java -jar BlockMap-cli-1.6.2.jar help render
73+
java -jar BlockMap-cli-2.0.0.jar help render
7474

7575
will get you started. On Linux even with colors!
7676

7777
If your world has been created before the Minecraft 1.13 release, please optimize it. To do this, start Minecraft, select your world, go to "Edit" and then "Optimize World".
7878

7979
### Server usage:
8080

81-
The bash script [server.sh](server.sh) is an example of how this could be used in a server environment. Simply set the paths at the top of the file and call this script regularly on the server. It has a few different render settings pre-configured, but they are easy to adapt to your needs.
82-
83-
84-
### 2.0 server usage:
85-
86-
*This is experimental and may change at any time! Please try it out and take the time to provide feedback if you run into issues.*
81+
*This feature is not stailized yet. Backwards-incompatible changes may occur even on minor releases. Any feedback welcome.*
8782

8883
The new server mode is based around the following concept:
8984

@@ -93,6 +88,13 @@ The new server mode is based around the following concept:
9388
- Host that folder using the web server of your choice (e.g. [`miniserve`](https://github.com/svenstaro/miniserve)). Clients will now be able to view your worlds across the Internet.
9489
- Call this on a scheduled basis. Subsequent runs will update the folder without re-rendering everything.
9590

91+
### Old server usage:
92+
93+
*The "old" way of doing server support: a simple shell script that calls the CLI.*
94+
95+
The bash script [server.sh](server.sh) is an example of how this could be used in a server environment. Simply set the paths at the top of the file and call this script regularly on the server. It has a few different render settings pre-configured, but they are easy to adapt to your needs.
96+
97+
9698
## Build it:
9799

98100
Due to technical, legal and performance reasons, some resources required to run and test BlockMap are not included in this repository, but generated locally. The Gradle task `regenerate` will download all required files (you only need an internet connection the first time and after a `clean`) and generate and compile a bunch of stuff. Without this, nothing will work. On a freshly cloned repository, use `initEclipse` or `initIdea` to transform the repository into a project you can simply open in your favorite IDE. (Warning: The `eclipse` and `idea` tasks have to be called each time some dependencies changed. Furthermore, they link to some folders in the build directory. This means that they won't work as intended until `regenerate` has been called.)

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
apply plugin: "com.github.ben-manes.versions"
2121

2222
allprojects {
23-
version = '2.0.0-snapshot'
23+
version = '2.0.0'
2424

2525
repositories {
2626
jcenter()

changelog.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Changelog
22

3+
## Version 2.0.0
4+
5+
***breaking*** news for ***breaking*** changes! Long overdue, a rewrite/overhaul of quite a few components. No Minecraft 1.16 support yet.
6+
7+
### Changes
8+
9+
- GUI redesign:
10+
- **Autocomplete!**
11+
- Better support for viewing worlds on servers.
12+
- Rewrite of the map rendering engine
13+
- Much cleaner code, probably removed a lot of bugs
14+
- Removed caching (may increase memory usage in large worlds)
15+
- Removed saving support. Use the CLI instead.
16+
- ***breaking*** World representation has been changed. Previously, every folder containing region files would count as world. Now, a world always is a folder containing a `level.dat` together with a dimension (defaulting to the overworld).
17+
- For the CLI, a few paths will have to be changed. `--dimension` is now always used, but defaults to `OVERWORLD`.
18+
- For the GUI, nothing much will change except you cannot open a single region folder anymore (which probably nobody did anyways)
19+
- New server mode using `render-many`:
20+
- **It is not declared stable yet, to allow breaking changes even on minor version bumps.**
21+
- Declare a configuration file with all your worlds and how you want to render them. An example configuration can be found [here](server-settings.json).
22+
- Call `blockmap render-many` and pass the configuration file as argument. You can add dynamic server information like online plyers etc. via more command line options.
23+
- An output directory will be created with all the rendered files. You can view them in BlockMap.
24+
- Host that folder using the web server of your choice (e.g. [`miniserve`](https://github.com/svenstaro/miniserve)). Clients will now be able to view your worlds across the Internet.
25+
- Call this on a scheduled basis. Subsequent runs will update the folder without re-rendering everything.
26+
- Other CLI changes:
27+
- ***breaking*** The `--lazy` option has been removed and is no enabled by default. Use `--force` to disable it manually.
28+
- Proper exit code handling. When using BlockMap in scripts, you'll know when it fails.
29+
- Java 13 support
30+
31+
### Bug fixes
32+
33+
- Color map selection in the GUI has gone wrong a few times
34+
- Some bounds checks when rendering part of the world are notoriously wrong
35+
36+
### Backwards-compatibility
37+
38+
All changes that potentially require manual intervention are marked with "***breaking***" in the changelog above.
39+
340
## Version 1.6.2
441
### Changes
542

screenshots/screenshot-0.gif

0 Bytes
Loading

screenshots/screenshot-1.png

-268 KB
Loading

screenshots/screenshot-2.png

-3.96 KB
Loading

screenshots/screenshot-3.png

14 KB
Loading

0 commit comments

Comments
 (0)