PaperMC / PaperMC/Paper

Datapacks that use custom chest inventory broken on Paper

Open
#13,839 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

scope: parity status: accepted version: 26.1.2
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

This involves the Waystones datapack or any other datapack that uses chests for custom chests inventories.

Broken on paper-26.1.2-18 and stable paper-26.1.2-53
Works on older paper-26.1.2-17 and vanilla.

Expected behavior

Interact with a Waystone (from https://modrinth.com/datapack/waystones-data-pack/version/V.3.5.1)
The waystone will list other waystone destinations in an inventory menu
Image

Observed/Actual behavior

Interact with a Waystone
The waystone fails to list other waystones
Image

Steps/models to reproduce

Install https://modrinth.com/datapack/waystones-data-pack/version/V.3.5.1 into the world's datapack folder
Run paper-26.1.2-18 or later (including the latest paper-26.1.2-51)
Place a waystone (according to "Place a waystone" of https://modrinth.com/datapack/waystones-data-pack)
Place another waystone
Interact with either waystone

Plugin and Datapack List
plugins
[03:28:52 INFO]: ℹ Server Plugins (11):
[03:28:52 INFO]: Bukkit Plugins:
[03:28:52 INFO]: - CoreProtect, DiscordSRV, Essentials, Herobrine, LuckPerms, packetevents, PVPToggle, TreeFeller, ViaBackwards, ViaRewind
[03:28:52 INFO]: ViaVersion
datapack list
[03:29:03 INFO]: There are 13 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [file/Coordinate Bar-nyscustom (world)], [paper (built-in)], [file/KawaMood's Waystones in Villages_nys_1_21_11_patch (world)], [file/bat membranes v1.0.17 (MC 26.1).zip (world)], [file/graves v4.1.0 (MC 26.1).zip (world)], [file/mini blocks v1.1.6 (MC 26.1).zip (world)], [file/pk_better_item_frames_V.3.0.4_mc_26.1.zip (world)], [file/pk_no_creeper_grief_V.3.0.2_mc_26.1.zip (world)], [file/pk_waystones_V.3.5.1_mc_26.1.zip (world)], [file/unlock all recipes v2.0.17 (MC 26.1).zip (world)], [file/ArwensFurniture2_1.2.0_Datapack.zip (world)]
[03:29:03 INFO]: There are no more data packs available
Paper version
version
[03:33:13 INFO]: Checking version, please wait...
[03:33:13 INFO]: This server is running Paper version 26.1.2-51-main@5d62ec0 (2026-04-27T16:54:06Z) (Implementing API version 26.1.2.build.51-beta)
You are running the latest version
Previous version: 26.1.2-17-9b1dd57 (MC: 26.1.2)
Other

Hello,

I've been running a Paper 26.1.2 test server that uses this datapack version:
https://modrinth.com/datapack/waystones-data-pack/version/V.3.5.1

The datapack works by having a barrel open a custom inventory menu.

I bisected between paper-26.1.2-15 and paper-26.1.2-20, and it seems like the culprit is paper-26.1.2-18:
As of paper-26.1.2-18 and paper-26.1.2-51 (current latest), this is broken.
Reverting back to paper-26.1.2-17 (or using vanilla), this works just fine

This may be related to the chest-related change for paper-26.1.2-18

Delay open/close callbacks for chests

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing Paper 26.1.2-17 with 26.1.2-18, focusing on the chest-related change described as “Delay open/close callbacks for chests.” Reproduce with the Waystones datapack V.3.5.1 and confirm that the custom inventory lists destinations on vanilla or 26.1.2-17 but fails on later Paper builds. Done means the datapack inventory works without regressing chest behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.