Folia icon indicating copy to clipboard operation
Folia copied to clipboard

Activated TNT entities retain the ability to destroy Nether portals after passing through them.

Open TT-Candy opened this issue 7 months ago • 1 comments

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

TT-Candy avatar Mar 27 '25 03:03 TT-Candy

I have made the fix on Luminol PR-87, hope Folia can check it and fix this bug, thanks

Suisuroru avatar Apr 27 '25 06:04 Suisuroru

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

electronicboy avatar Apr 27 '25 09:04 electronicboy

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

Suisuroru avatar Apr 27 '25 10:04 Suisuroru

I have rewritten the code, could you please take a look again ?

Suisuroru avatar Apr 27 '25 12:04 Suisuroru