TrialSpawners lose SpawnData/SpawnPotentials if a BlockTransformer has been registered for the Structure placing it
- 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
- Create/Install a plugin that registers a BlockTransformer to the trial chambers structure
- Setup and start a server and search for a trial chamber
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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