Folia
Folia copied to clipboard
Activated TNT entities retain the ability to destroy Nether portals after passing through them.
Expected behavior
In Minecraft 1.21 updates, Mojang officially specified that TNT should not be able to destroy Nether portals after passing through them into another dimension.
Observed/Actual behavior
In Folia, the TNT still destroys the portal after passing through.
Steps/models to reproduce
Activate a TNT and cause it to be transported through a Nether portal.
Plugin and Datapack List
No plugins and datapacks.
Folia version
All version
Other
No response
I have made the fix on Luminol PR-87, hope Folia can check it and fix this bug, thanks
The fix should probably look into what else is broken due to the teleport method no longer being called and address that instead of just moving up individual side-effects
I know it, I will provide a better way to call this fix later, I will use parent class methods to rebuild it so that can more conveniently migrate to other Entity instances
I have rewritten the code, could you please take a look again ?