diff --git a/README.md b/README.md index 8798875..8776ecb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Schematic4j +[![Latest version](https://img.shields.io/maven-central/v/net.sandrohc/schematic4j?label=version)](https://central.sonatype.com/artifact/net.sandrohc/schematic4j) + Java parser for the .schem/.schematic/.litematic Minecraft formats. 🗺 ## Supported formats @@ -31,7 +33,7 @@ repositories { } dependencies { - implementation 'net.sandrohc:schematic4j:1.0.1' + implementation 'net.sandrohc:schematic4j:1.1.0' } ``` @@ -40,7 +42,7 @@ If using Maven (`pom.xml`): net.sandrohc schematic4j - 1.0.1 + 1.1.0 ``` @@ -58,9 +60,9 @@ Schematic schematic = SchematicLoader.load("/path/to/your.schematic"); schematic.name(); schematic.width(); schematic.height(); -schematic.lenght(); +schematic.length(); schematic.block(0, 0, 0).name; -schematic.blocks().next(); -schematic.blockEntities().next(); -schematic.entities().next(); +schematic.blocks().collect(Collectors.toList()); +schematic.blockEntities().collect(Collectors.toList()); +schematic.entities().collect(Collectors.toList()); ``` \ No newline at end of file diff --git a/build.gradle b/build.gradle index a4e897e..7881ec7 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { } group 'net.sandrohc' -version '1.0.1' +version '1.1.0' ext.isReleaseVersion = !version.endsWith('SNAPSHOT')