Open TreemanKing opened 11 months ago
Hm ive not seen that one before, usually, they trigger. I don't have time right now but I will take a look when I can too.
Hm ive not seen that one before, usually, they trigger. I don't have time right now but I will take a look when I can too.
Just had a small look, doesn't look the there's a listener utilising the EntityEnterPortalEvent. Probably would be better to utilise this rather than EntityPortalEvent as it acts earlier.
There have been some changes between the events across versions as well as Paper has some extra changes, ill have to check and see which ones exist across versions supported.
There have been some changes between the events across versions as well as Paper has some extra changes, ill have to check and see which ones exist across versions supported.
Seems like it's supported back from 1.13 (EntityPortalEnterEvent)
Entering a portal at a high velocity will cause the player to first be teleported to the portal destination (end /nether), corrects itself. However, it does not issue any commands.
This can be seen by the following clip (last 10 seconds)
https://medal.tv/games/minecraft/clips/1vhfO1Wsaf0UOB/DvP9B1mzf1vo?invite=cr-MSxVUkosMjAwNDEzODc1LA
I haven't looked into any of the code yet but I'll have a look tomorrow.