ChestPreview 1.0.12
Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
PacketEvents is bundled
ChestPreview shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.
The build follows PacketEvents' bundling guidance and relocates the bundled libraries into ChestPreview's private namespace:
com.github.retrooper->nl.timfalken.chestpreview.libs.packeteventsio.github.retrooper->nl.timfalken.chestpreview.libs.packeteventsnet.kyori->nl.timfalken.chestpreview.libs.kyoricom.google.gson->nl.timfalken.chestpreview.libs.gsonorg.bstats->nl.timfalken.chestpreview.libs.bstats
PacketEvents is initialized by ChestPreview itself:
onLoad(): build +load()onEnable():init()onDisable():terminate()
The embedded PacketEvents update checker is disabled.
Build
gradle shadowJar
Output:
build/libs/ChestPreview-<version>.jar
Do not use minimize() for this build; PacketEvents warns that minimization can cause classloading issues.
Releases
Releases are tagged as X.Y.Z (optional v prefix). The GitLab pipeline validates the tag, bumps version files, builds the jar, and publishes a GitLab Release.