Tridents thrown in survival despawn after one minute
The bug
As of 18w30a, the first snapshot for 1.13.1, tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due to MC-125834).
Code analysis
Code analysis can be found in this comment.
Created Issue:
Tridents despawn after one minute
Similar to arrows (which they share many properties with), thrown tridents despawn after one minute. As this is a valuable treasure item that can store enchantments, etc, I would expect it to not despawn when thrown.
Thrown tridents despawn after one minute
is duplicated by
is duplicated by
relates to
blocks
Only happens in creative mode. I need to stop being so hasty.
Similar to arrows (which they share many properties with), thrown tridents despawn after one minute. As this is a valuable treasure item that can store enchantments, etc, I would expect it to not despawn when thrown.
As of 18w43a , the first 1.14 snapshot, tridents despawn when thrown in survival mode.
Similar to arrows (which they share many properties with), thrown tridents despawn after one minute. As this is a valuable treasure item that can store enchantments, etc, I would expect it to not despawn when thrown.
As of 18w43a , the first 1.14 snapshot, tridents despawn when thrown in survival mode.
Similar to arrows (which they share many properties with), thrown tridents despawn after one minute. As this is a valuable treasure item that can store enchantments, etc, I would expect it to not despawn when thrown.As of 18w43a , the first 1.14 snapshot, tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due toMC-125834).
As of 18w43a
, the first 1.14 snapshot, tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due toMC-125834).As of some version between 1.13 and 1.13.2 , tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due toMC-125834).
As of some version between 1.13 and 1.13.2 , tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due toMC-125834).As of 18w30a , the first snapshot for 1.13.1 tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due toMC-125834).
As of 18w30a , the first snapshot for 1.13.1, tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due toMC-125834).
Thrown tridents despawn after one minuteSurvival-thrown tridents despawn after one minute
is duplicated by
is duplicated by
As of 18w30a , the first snapshot for 1.13.1, tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due toMC-125834).The bug
As of 18w30a , the first snapshot for 1.13.1, tridents despawn when thrown in survival mode.
In 1.13, they did not despawn (but did disappear visually due toMC-125834).Code analysis
Code analysis can be found in this comment .
Survival-thrown tridentsdespawn after one minuteTridents that are not enchanted with Riptide despawn after one minute
Tridents that are not enchanted with Riptidedespawn after one minuteTridents thrown in survival despawn after one minute
Does MC-125817 describe your issue?
Tested in 19w35a
They despawned instead of just disappearing (MC-125817)
Duplicate of MC-125817
Duplicate of MC-125817.
Thank you for your report!
We're tracking this issue in MC-125817, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
The bug
Loyalty tridents sometimes seem to disappear (or actually disappear) when thrown right before the player travels between dimensions. They behave very inconsistently, and almost randomly.
In most cases, the trident stays as an entity in the dimension it was thrown in, and promptly returns to the owner. However, it might also fail to return, in which case it might go through the portal and end up in the location of the portal in the overworld.
Sometimes, the trident seems to disappear, but is actually teleported to a specific location in the world, which seems to be near world spawn. It might stay as an entity (despawning eventually due to MC-125817), or drop as an item.
Expected behavior
The trident should always return to the player, or drop as an item in the spot as soon as the player teleports, which is what happens if you die before the trident returns (MC-176919).
In regards to your last comment Álvaro Carvalho, does that mean you can no longer reproduce this issue, and that only MC-125817 can be reproduced? If not, could you please check in the latest version and see if you can still confirm it?
Yes [Mod] Jiingy, I just tested in 1.20.5 Release Candidate 2, in both Survival and Creative. After 1 minute, the trident despawns (MC-125817)
Confirmed for 1.14.3 Pre-Release 3
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
Can confirm in 1.17.1.
In Bedrock Edition, thrown tridents do not despawn.
Can confirm in 1.18.1.
Can confirm in 1.18.2 and 22w13a.
Code analysis (Mojang mappings, 22w13a): ThrownTrident extends AbstractArrow. In ThrownTrident#tick(), super.tick() is called, which is AbstractArrow#tick(). In this function, tickDespawn() is called when the entity has physics and is on the ground. In ThrownTrident#tickDespawn():
Again, in AbstractArrow#tickDespawn():
The entity is discarded when its life NBT reaches 1200 ticks (60 seconds).
This also affects tridents thrown in creative mode and summoned tridents.
This seems intended.
Based on the behavior in 1.13 before this bug and in Bedrock edition, it seems intended that creative mode tridents despawn
Can confirm in 1.20.4
Can confirm in 1.20.5 Pre Release 2, used a command block on repeat with execute as @e[sort=nearest, limit=1] run tell @p I'm alive! and threw a trident at it in both Creative and Survival, the trident whispers to you during 1 minute and then despawn