Skip to content

Commit 4380fd7

Browse files
authored
Minecraft 1.21.4 support (#339)
* Add pale garden blocks to Foraging sources * Update item-nbt-api dependency and pale garden XP values * Add 1.21.4 to supported versions property
1 parent ba75cb6 commit 4380fd7

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

bukkit/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies {
3535
implementation(project(":common"))
3636
implementation(project(":api-bukkit"))
3737
implementation("co.aikar:acf-paper:0.5.1-SNAPSHOT")
38-
implementation("de.tr7zw:item-nbt-api:2.14.0")
38+
implementation("de.tr7zw:item-nbt-api:2.14.1-SNAPSHOT")
3939
implementation("org.bstats:bstats-bukkit:3.0.2")
4040
implementation("net.kyori:adventure-text-minimessage:4.16.0")
4141
implementation("net.kyori:adventure-platform-bukkit:4.3.3")

bukkit/src/main/java/dev/aurelium/auraskills/bukkit/AuraSkills.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ private void initializeMenus() {
362362
private void initializeNbtApi() {
363363
// Check if NBT API is supported for the version
364364
if (MinecraftVersion.getVersion() == MinecraftVersion.UNKNOWN) {
365-
getLogger().warning("NBT API is not yet supported for your Minecraft version, item modifier, requirement, and some other functionality is disabled!");
365+
getLogger().warning("NBT API is not yet supported for your Minecraft version, some legacy conversion and item nbt parsing functionality may be disabled!");
366366
nbtApiEnabled = false;
367367
} else {
368368
nbtApiEnabled = true;

common/src/main/resources/sources/foraging.yml

+21-1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,26 @@ sources:
124124
red_mushroom_block:
125125
block: red_mushroom_block
126126
xp: 2.0
127+
creaking_heart:
128+
block: creaking_heart
129+
xp: 480.0
130+
state:
131+
natural: true
132+
pale_moss_block:
133+
block: pale_moss_block
134+
xp: 2.0
135+
pale_moss_carpet:
136+
block: pale_moss_carpet
137+
xp: 0.5
138+
support_block: below
139+
pale_oak_log:
140+
block: pale_oak_log
141+
xp: 8.0
142+
trunk: true
143+
pale_oak_leaves:
144+
block: pale_oak_leaves
145+
xp: 0.8
146+
leaf: true
127147
tags:
128148
foraging_luck_applicable:
129-
- '*'
149+
- '*'

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
projectVersion=2.2.6
2-
supportedMCVersions=1.17,1.17.1,1.18,1.18.1,1.18.2,1.19,1.19.1,1.19.2,1.19.3,1.19.4,1.20,1.20.1,1.20.2,1.20.3,1.20.4,1.20.5,1.20.6,1.21,1.21.1,1.21.2,1.21.3
2+
supportedMCVersions=1.17,1.17.1,1.18,1.18.1,1.18.2,1.19,1.19.1,1.19.2,1.19.3,1.19.4,1.20,1.20.1,1.20.2,1.20.3,1.20.4,1.20.5,1.20.6,1.21,1.21.1,1.21.2,1.21.3,1.21.4

0 commit comments

Comments
 (0)