Skip to content

Commit 286bcec

Browse files
authored
Merge pull request #81 from BentoBoxWorld/develop
Version 2.2.2
2 parents f54202e + 27cab8a commit 286bcec

File tree

5 files changed

+30
-370
lines changed

5 files changed

+30
-370
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<!-- Do not change unless you want different name for local builds. -->
6262
<build.number>-LOCAL</build.number>
6363
<!-- This allows to change between versions. -->
64-
<build.version>2.2.1</build.version>
64+
<build.version>2.2.2</build.version>
6565
<!-- SonarCloud -->
6666
<sonar.projectKey>BentoBoxWorld_SkyGrid</sonar.projectKey>
6767
<sonar.organization>bentobox-world</sonar.organization>

src/main/java/world/bentobox/skygrid/generators/SkyGridChunks.java

Lines changed: 0 additions & 164 deletions
This file was deleted.

src/main/java/world/bentobox/skygrid/generators/SkyGridGen.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,20 @@ private boolean checkPlants(Material nextBlock, int x, int y, int z, ChunkData r
7878
result.setBlock(x, y, z, Material.END_STONE);
7979
result.setBlock(x, y + 1, z, nextBlock);
8080
}
81-
81+
case SUGAR_CANE -> {
82+
result.setBlock(x, y, z, Material.SANDSTONE);
83+
result.setBlock(x, y + 1, z, Material.SAND);
84+
result.setBlock(x, y + 2, z, nextBlock);
85+
result.setBlock(x+1, y + 1, z, Material.WATER);
86+
}
87+
case SHORT_GRASS, TALL_GRASS -> {
88+
result.setBlock(x, y, z, Material.DIRT);
89+
result.setBlock(x, y + 1, z, nextBlock);
90+
}
91+
case RED_MUSHROOM, BROWN_MUSHROOM -> {
92+
result.setBlock(x, y, z, Material.PODZOL);
93+
result.setBlock(x, y + 1, z, nextBlock);
94+
}
8295
default -> {
8396
result.setBlock(x, y, z, nextBlock);
8497
return false;

src/main/resources/addon.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: ${version}${build.number}
44
metrics: true
55
repository: "BentoBoxWorld/SkyGrid"
66
icon: "COBWEB"
7-
api-version: 2.7.1
7+
api-version: 3.3.1
88

99
authors: tastybento
1010

0 commit comments

Comments
 (0)