Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Add an entity/player teleport event #3294

Open
TelepathicGrunt opened this issue Sep 1, 2023 · 1 comment
Open

[Suggestion] Add an entity/player teleport event #3294

TelepathicGrunt opened this issue Sep 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@TelepathicGrunt
Copy link
Contributor

Much like the teleporting event on Forge that fires for changeDimension (entity) or teleportTo (serverplayer), this allows mods to be able to block teleporting to a disallowed dimension.

Example use case: https://www.curseforge.com/minecraft/mc-mods/restricted-portals

My mod has a custom teleporting system and I am able to call the Forge event to be compatible with the above mod much better. On Fabric, the lack of an equivalent event means I need to do direct mod compat by calling Restricted Portal's code in my mod.

Ideally for 1.19.2+

@Juuxel Juuxel added the enhancement New feature or request label Sep 10, 2023
@AndiLeni
Copy link

AndiLeni commented May 9, 2024

I'd like to see this feature as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants