BlueGit

timfa chestpreviews

Bump to 1.0.11 and align Paper/Java toolchain for releases.

Co-authored-by: Cursor <cursoragent@cursor.com>

timfa Tim Falken · pushed by timfa

Authored 2026-08-20 · 2 months ago

Hash
4a06e1b8da8223c3efb49d45d693855dea97847d
Parent
8d7cadf9
6 files changed +10 −10
.gitlab-ci.yml +1 −1
@@ -67,7 +67,7 @@ bump:version:
67 67
68 68 build:jar:
69 69 stage: build
70 image: gradle:jdk21
70 image: gradle:jdk25
71 71 needs:
72 72 - job: bump:version
73 73 artifacts: true
@@ -67,7 +67,7 @@ bump:version:
67
67
68build:jar:
68build:jar:
69 stage: build
69 stage: build
70 image: gradle:jdk21
70 image: gradle:jdk25
71 needs:
71 needs:
72 - job: bump:version
72 - job: bump:version
73 artifacts: true
73 artifacts: true
README.md +1 −1
@@ -1,4 +1,4 @@
1 # ChestPreview 1.0.10
1 # ChestPreview 1.0.11
2 2
3 3 Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
4 4
@@ -1,4 +1,4 @@
1# ChestPreview 1.0.10
1# ChestPreview 1.0.11
2
2
3Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
3Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
4
4
build.gradle.kts +3 −3
@@ -4,7 +4,7 @@ plugins {
4 4 }
5 5
6 6 group = "nl.timfalken"
7 version = "1.0.10"
7 version = "1.0.11"
8 8
9 9 repositories {
10 10 mavenCentral()
@@ -14,14 +14,14 @@ repositories {
14 14 }
15 15
16 16 dependencies {
17 compileOnly("io.papermc.paper:paper-api:26.2-R0.1-SNAPSHOT")
17 compileOnly("io.papermc.paper:paper-api:26.2.build.+")
18 18
19 19 // Bundled into ChestPreview by shadowJar.
20 20 implementation("com.github.retrooper:packetevents-spigot:2.13.0")
21 21 }
22 22
23 23 java {
24 toolchain.languageVersion.set(JavaLanguageVersion.of(21))
24 toolchain.languageVersion.set(JavaLanguageVersion.of(25))
25 25 }
26 26
27 27 tasks.jar {
@@ -4,7 +4,7 @@ plugins {
4}
4}
5
5
6group = "nl.timfalken"
6group = "nl.timfalken"
7version = "1.0.10"
7version = "1.0.11"
8
8
9repositories {
9repositories {
10 mavenCentral()
10 mavenCentral()
@@ -14,14 +14,14 @@ repositories {
14}
14}
15
15
16dependencies {
16dependencies {
17 compileOnly("io.papermc.paper:paper-api:26.2-R0.1-SNAPSHOT")
17 compileOnly("io.papermc.paper:paper-api:26.2.build.+")
18
18
19 // Bundled into ChestPreview by shadowJar.
19 // Bundled into ChestPreview by shadowJar.
20 implementation("com.github.retrooper:packetevents-spigot:2.13.0")
20 implementation("com.github.retrooper:packetevents-spigot:2.13.0")
21}
21}
22
22
23java {
23java {
24 toolchain.languageVersion.set(JavaLanguageVersion.of(21))
24 toolchain.languageVersion.set(JavaLanguageVersion.of(25))
25}
25}
26
26
27tasks.jar {
27tasks.jar {
src/README-1.0.10.md src/README-1.0.11.md renamed +3 −3
@@ -1,10 +1,10 @@
1 # ChestPreview 1.0.10
1 # ChestPreview 1.0.11
2 2
3 3 Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
4 4
5 5 ## PacketEvents is bundled
6 6
7 ChestPreview 1.0.10 shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.
7 ChestPreview 1.0.11 shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.
8 8
9 9 The build follows PacketEvents' bundling guidance and relocates the bundled libraries into ChestPreview's private namespace:
10 10
@@ -35,7 +35,7 @@ or your CI's existing `shadowJar` task.
35 35 The output is:
36 36
37 37 ```text
38 build/libs/ChestPreview-1.0.10.jar
38 build/libs/ChestPreview-1.0.11.jar
39 39 ```
40 40
41 41 Do not use `minimize()` for this build; PacketEvents warns that minimization can cause classloading issues.
@@ -1,10 +1,10 @@
1# ChestPreview 1.0.10
1# ChestPreview 1.0.11
2
2
3Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
3Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
4
4
5## PacketEvents is bundled
5## PacketEvents is bundled
6
6
7ChestPreview 1.0.10 shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.
7ChestPreview 1.0.11 shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.
8
8
9The build follows PacketEvents' bundling guidance and relocates the bundled libraries into ChestPreview's private namespace:
9The build follows PacketEvents' bundling guidance and relocates the bundled libraries into ChestPreview's private namespace:
10
10
@@ -35,7 +35,7 @@ or your CI's existing `shadowJar` task.
35The output is:
35The output is:
36
36
37```text
37```text
38build/libs/ChestPreview-1.0.10.jar
38build/libs/ChestPreview-1.0.11.jar
39```
39```
40
40
41Do not use `minimize()` for this build; PacketEvents warns that minimization can cause classloading issues.
41Do not use `minimize()` for this build; PacketEvents warns that minimization can cause classloading issues.
src/main/java/nl/timfalken/chestpreview/ChestPreviewPlugin.java +1 −1
@@ -40,7 +40,7 @@ public final class ChestPreviewPlugin extends JavaPlugin {
40 40 if (getConfig().getBoolean("updates.scan-loaded-chunks-on-startup", true)) {
41 41 Bukkit.getScheduler().runTask(this, manager::enqueueLoadedChunks);
42 42 }
43 getLogger().info("ChestPreview 1.0.10 enabled (client-only packet previews; embedded PacketEvents 2.13.0).");
43 getLogger().info("ChestPreview 1.0.11 enabled (client-only packet previews; embedded PacketEvents 2.13.0).");
44 44 }
45 45
46 46 @Override
@@ -40,7 +40,7 @@ public final class ChestPreviewPlugin extends JavaPlugin {
40 if (getConfig().getBoolean("updates.scan-loaded-chunks-on-startup", true)) {
40 if (getConfig().getBoolean("updates.scan-loaded-chunks-on-startup", true)) {
41 Bukkit.getScheduler().runTask(this, manager::enqueueLoadedChunks);
41 Bukkit.getScheduler().runTask(this, manager::enqueueLoadedChunks);
42 }
42 }
43 getLogger().info("ChestPreview 1.0.10 enabled (client-only packet previews; embedded PacketEvents 2.13.0).");
43 getLogger().info("ChestPreview 1.0.11 enabled (client-only packet previews; embedded PacketEvents 2.13.0).");
44 }
44 }
45
45
46 @Override
46 @Override
src/main/resources/plugin.yml +1 −1
@@ -1,5 +1,5 @@
1 1 name: ChestPreview
2 version: '1.0.10'
2 version: '1.0.11'
3 3 main: nl.timfalken.chestpreview.ChestPreviewPlugin
4 4 api-version: '26.2'
5 5 author: Tim Falken
@@ -1,5 +1,5 @@
1name: ChestPreview
1name: ChestPreview
2version: '1.0.10'
2version: '1.0.11'
3main: nl.timfalken.chestpreview.ChestPreviewPlugin
3main: nl.timfalken.chestpreview.ChestPreviewPlugin
4api-version: '26.2'
4api-version: '26.2'
5author: Tim Falken
5author: Tim Falken