Skip to content

Folia support via reflection and PaperLib (#188)#382

Open
Jsinco wants to merge 6 commits intoDecentSoftware-eu:mainfrom
LumaLibre:main
Open

Folia support via reflection and PaperLib (#188)#382
Jsinco wants to merge 6 commits intoDecentSoftware-eu:mainfrom
LumaLibre:main

Conversation

@Jsinco
Copy link
Copy Markdown

@Jsinco Jsinco commented Feb 19, 2026

This PR is an updated version of #188. HarvelsX's Folia implementation works well, although it should be tested more thoroughly. I'm making this PR so that Folia support gets more attention and so we can get a merge at some point.

HavelsX's PR is outdated by over two years at this point so I've skipped straight to opening a new PR on this repo based on their changes.

In addition to merging #188's changes into the latest commits of DecentHolograms, I've also fixed an issue where this plugin was making Entity#teleport calls (folia does not support this and instead requires Entity#teleportAsync). I have done this by using PaperLib so that Paper servers can also reap the benefits of Entity#teleportAsync but this can be changed to a reflective call if need be.

This PR closes #123 and supersedes #188.

For any non-developers reading this PR, I will be merging commits from DecentHolograms into this fork and releasing them as compiled jars for anyone to use and test. If you encounter any issues please make an issue on my fork so I can fix it.

HarvelsX and others added 6 commits May 19, 2024 21:12
…ograms

# Conflicts:
#	plugin/src/main/java/eu/decentsoftware/holograms/api/DecentHolograms.java
#	plugin/src/main/java/eu/decentsoftware/holograms/api/listeners/PlayerListener.java
#	plugin/src/main/java/eu/decentsoftware/holograms/api/utils/scheduler/S.java
#	plugin/src/main/java/eu/decentsoftware/holograms/api/utils/scheduler/SchedulerAdapter.java
#	plugin/src/main/java/eu/decentsoftware/holograms/api/utils/scheduler/adapters/BukkitSchedulerAdapter.java
#	plugin/src/main/java/eu/decentsoftware/holograms/api/utils/scheduler/adapters/FoliaSchedulerAdapter.java
#	src/main/java/eu/decentsoftware/holograms/api/utils/tick/Ticker.java
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.

Folia Support for DecentHolograms?

2 participants