Skip to content

Remove redundant adapter methods for get/setBiome#2984

Open
Dreeam-qwq wants to merge 1 commit into
EngineHub:version/7.4.xfrom
Dreeam-qwq:chore/get-set-biome-cleanup
Open

Remove redundant adapter methods for get/setBiome#2984
Dreeam-qwq wants to merge 1 commit into
EngineHub:version/7.4.xfrom
Dreeam-qwq:chore/get-set-biome-cleanup

Conversation

@Dreeam-qwq

Copy link
Copy Markdown

Cleanup redundant adapter methods for get/setBiome. These adapter methods were added many years ago, and for now, there is no point to keep use them; we can just use bukkit api instead.

@Dreeam-qwq Dreeam-qwq requested a review from a team as a code owner July 5, 2026 20:40
@wizjany

wizjany commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

the bukkit api does not (did not?) support setting custom biomes. on those versions, the output of BukkitAdapter.adapt can't be used. i haven't kept up with upstream changes (barely with EH stuff), but given the targeting matrix here (spigot and paper back multiple versions), i wouldn't be so quick to consider this pointless.

@me4502

me4502 commented Jul 6, 2026

Copy link
Copy Markdown
Member

When I last audited our registry hacks last year, I found that biomes still had issues on Spigot in versions that we still do currently support. I've not had a chance to take a look at versions since then as Spigot for 26.1+ is rather unstable on my machine, but we will need to keep these adapters either until all versions which don't work properly are unsupported, or if we ever chose to drop Spigot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants