Skip to content

Commit a9a9203

Browse files
authored
1 parent 3c07866 commit a9a9203

File tree

8 files changed

+89
-9
lines changed

8 files changed

+89
-9
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug-report.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ body:
113113
label: '🎮 Minecraft Version'
114114
description: 'Please select the Minecraft version of the server'
115115
options:
116+
- 1.20.x
116117
- 1.19.x
117118
- 1.18.x
118119
- 1.17.x

Diff for: .github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!-- Don't worry, these are not requirements. They only serve as guidance. -->
1818
- [ ] I have fully tested the proposed changes and promise that they will not break everything into chaos.
1919
- [ ] I have also tested the proposed changes in combination with various popular addons and can confirm my changes do not break them.
20-
- [ ] I have made sure that the proposed changes do not break compatibility across the supported Minecraft versions (1.16.* - 1.19.*).
20+
- [ ] I have made sure that the proposed changes do not break compatibility across the supported Minecraft versions (1.16.* - 1.20.*).
2121
- [ ] I followed the existing code standards and didn't mess up the formatting.
2222
- [ ] I did my best to add documentation to any public classes or methods I added.
2323
- [ ] I have added `Nonnull` and `Nullable` annotations to my methods to indicate their behaviour for null values

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
* (API) Added EnergyNet#getConsumers()
4646
* Added Bamboo as a fuel type for Tier 1 Androids
4747
* Added "Basalt -> Blackstone" recipe to the Grind Stone
48+
* Added compatibility for Minecraft 1.20
4849

4950
#### Changes
5051
* Removed 1.14.* and 1.15.* support

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Here is a full summary of the differences between the two different versions of
3030

3131
| | development (latest) | "stable" |
3232
| ------------------ | -------- | -------- |
33-
| **Minecraft version(s)** | :video_game: **1.16.\* - 1.19.\*** | :video_game: **1.14.\* - 1.19.\*** |
33+
| **Minecraft version(s)** | :video_game: **1.16.\* - 1.20.\*** | :video_game: **1.14.\* - 1.19.\*** |
3434
| **Java version** | :computer: **Java 16 (or higher)** | :computer: **Java 16 (or higher)** |
3535
| **automatic updates** | :heavy_check_mark: | :heavy_check_mark: |
3636
| **frequent updates** | :heavy_check_mark: | :x: |

Diff for: pom.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<maven.compiler.target>16</maven.compiler.target>
2727

2828
<!-- Spigot properties -->
29-
<spigot.version>1.19</spigot.version>
29+
<spigot.version>1.20</spigot.version>
3030
<spigot.javadocs>https://hub.spigotmc.org/javadocs/spigot/</spigot.javadocs>
3131

3232
<!-- Default settings for sonarcloud.io -->
@@ -351,10 +351,11 @@
351351
</dependency>
352352

353353
<!-- Shaded packages -->
354+
<!-- TODO: Revert changes back to maven when dough 1.3 released -->
354355
<dependency>
355-
<groupId>io.github.baked-libs</groupId>
356+
<groupId>com.github.baked-libs.dough</groupId>
356357
<artifactId>dough-api</artifactId>
357-
<version>1.2.0</version>
358+
<version>39856a32c4</version>
358359
<scope>compile</scope>
359360
</dependency>
360361
<dependency>

Diff for: src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java

+6
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ public enum MinecraftVersion {
4343
*/
4444
MINECRAFT_1_19(19, "1.19.x"),
4545

46+
/**
47+
* This constant represents Minecraft (Java Edition) Version 1.20
48+
* ("The Trails & Tales Update")
49+
*/
50+
MINECRAFT_1_20(20, "1.20.x"),
51+
4652
/**
4753
* This constant represents an exceptional state in which we were unable
4854
* to identify the Minecraft Version we are using

Diff for: src/test/java/io/github/thebusybiscuit/slimefun4/utils/biomes/TestBiomeMapCompatibility.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ void testCompatibilities(String name, MinecraftVersion version) {
102102
MinecraftVersion.MINECRAFT_1_16,
103103
MinecraftVersion.MINECRAFT_1_17,
104104
MinecraftVersion.MINECRAFT_1_18,
105-
MinecraftVersion.MINECRAFT_1_19
105+
MinecraftVersion.MINECRAFT_1_19,
106+
MinecraftVersion.MINECRAFT_1_20
106107
});
107108

108109
testCases.put("oil_v1.16", new MinecraftVersion[] {
@@ -112,7 +113,8 @@ void testCompatibilities(String name, MinecraftVersion version) {
112113

113114
testCases.put("oil_v1.18", new MinecraftVersion[] {
114115
MinecraftVersion.MINECRAFT_1_18,
115-
MinecraftVersion.MINECRAFT_1_19
116+
MinecraftVersion.MINECRAFT_1_19,
117+
MinecraftVersion.MINECRAFT_1_20
116118
});
117119

118120
testCases.put("salt_v1.16", new MinecraftVersion[] {
@@ -122,7 +124,8 @@ void testCompatibilities(String name, MinecraftVersion version) {
122124

123125
testCases.put("salt_v1.18", new MinecraftVersion[] {
124126
MinecraftVersion.MINECRAFT_1_18,
125-
MinecraftVersion.MINECRAFT_1_19
127+
MinecraftVersion.MINECRAFT_1_19,
128+
MinecraftVersion.MINECRAFT_1_20
126129
});
127130

128131
testCases.put("uranium_v1.16", new MinecraftVersion[] {
@@ -135,7 +138,8 @@ void testCompatibilities(String name, MinecraftVersion version) {
135138

136139
testCases.put("uranium_v1.18", new MinecraftVersion[] {
137140
MinecraftVersion.MINECRAFT_1_18,
138-
MinecraftVersion.MINECRAFT_1_19
141+
MinecraftVersion.MINECRAFT_1_19,
142+
MinecraftVersion.MINECRAFT_1_20
139143
});
140144
// @formatter:on
141145

Diff for: src/test/resources/biomes/1.20.x.json

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
[
2+
"minecraft:ocean",
3+
"minecraft:plains",
4+
"minecraft:desert",
5+
"minecraft:windswept_hills",
6+
"minecraft:forest",
7+
"minecraft:taiga",
8+
"minecraft:swamp",
9+
"minecraft:mangrove_swamp",
10+
"minecraft:river",
11+
"minecraft:nether_wastes",
12+
"minecraft:the_end",
13+
"minecraft:frozen_ocean",
14+
"minecraft:frozen_river",
15+
"minecraft:snowy_plains",
16+
"minecraft:mushroom_fields",
17+
"minecraft:beach",
18+
"minecraft:jungle",
19+
"minecraft:sparse_jungle",
20+
"minecraft:deep_ocean",
21+
"minecraft:stony_shore",
22+
"minecraft:snowy_beach",
23+
"minecraft:birch_forest",
24+
"minecraft:dark_forest",
25+
"minecraft:snowy_taiga",
26+
"minecraft:old_growth_pine_taiga",
27+
"minecraft:windswept_forest",
28+
"minecraft:savanna",
29+
"minecraft:savanna_plateau",
30+
"minecraft:badlands",
31+
"minecraft:wooded_badlands",
32+
"minecraft:small_end_islands",
33+
"minecraft:end_midlands",
34+
"minecraft:end_highlands",
35+
"minecraft:end_barrens",
36+
"minecraft:warm_ocean",
37+
"minecraft:lukewarm_ocean",
38+
"minecraft:cold_ocean",
39+
"minecraft:deep_lukewarm_ocean",
40+
"minecraft:deep_cold_ocean",
41+
"minecraft:deep_frozen_ocean",
42+
"minecraft:the_void",
43+
"minecraft:sunflower_plains",
44+
"minecraft:windswept_gravelly_hills",
45+
"minecraft:flower_forest",
46+
"minecraft:ice_spikes",
47+
"minecraft:old_growth_birch_forest",
48+
"minecraft:old_growth_spruce_taiga",
49+
"minecraft:windswept_savanna",
50+
"minecraft:eroded_badlands",
51+
"minecraft:bamboo_jungle",
52+
"minecraft:soul_sand_valley",
53+
"minecraft:crimson_forest",
54+
"minecraft:warped_forest",
55+
"minecraft:basalt_deltas",
56+
"minecraft:dripstone_caves",
57+
"minecraft:lush_caves",
58+
"minecraft:deep_dark",
59+
"minecraft:meadow",
60+
"minecraft:grove",
61+
"minecraft:snowy_slopes",
62+
"minecraft:frozen_peaks",
63+
"minecraft:jagged_peaks",
64+
"minecraft:stony_peaks",
65+
"minecraft:cherry_grove",
66+
"minecraft:custom",
67+
]

0 commit comments

Comments
 (0)