This is a simple server side mod that prevents the despawning of items that are added to a new tag, aptly named "prevent_despawn".
Currently this only supports ItemEntities.
By default this tag contains
"minecraft:dragon_egg",
"minecraft:nether_star",
"minecraft:totem_of_undying"
External resources
Project members
An-Sar
Owner
Technical information
License
MIT
Client side
unsupported
Server side
required
Project ID