PaperMC / PaperMC/Paper

TrialSpawners lose SpawnData/SpawnPotentials if a BlockTransformer has been registered for the Structure placing it

Open
#12,819 4 comments 0 reactions 0 assignees View on GitHub

@Lulu13022002 is already working on this.

Since Jun 24, 2025.

  • #12732 by @Lulu13022002 — open
status: accepted version: 1.21.7
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Expected behavior

TrialSpawners should not lose any data in any circumstances

Observed/Actual behavior

TrialSpawners lose the SpawnData/SpawnPotentials if a BlockTransformer has been registered for a structure placing it (vanilla structures affected: Trial chambers)

Steps/models to reproduce
  1. Create/Install a plugin that registers a BlockTransformer to the trial chambers structure
  2. Setup and start a server and search for a trial chamber
  3. Once a trial chamber is found you will see that the trial spawners have no SpanData or SpawnPotentials
Plugin and Datapack List

The test plugin that can be found in the spigot issue linked below

Paper version

Any version after the hardfork and before the hardfork since this spigot PR: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1354/overview

Other

Please checkout this issue, it shows the bug in spigot and its fix to it as it was introduced upstream before the hardfork: https://hub.spigotmc.org/jira/browse/SPIGOT-8068

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 reviewing linked pull request #12732 and the upstream SPIGOT-8068 issue, then reproduce the problem with a BlockTransformer registered for trial chambers. Done means trial spawners retain their SpawnData and SpawnPotentials when the structure is placed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.