In Forge, the lifespan check will now look at Entity#lifespan instead of the configuration since items can have differing lifespans per implementation. The check in Fabric remains the same as there is no common API.
The configuration options in Forge have been deprecated for removal but not removed to maintain compatibility. The #getItemDespawnTime without being entity sensitive also remains for this reason.
In Forge, the lifespan check will now look at
Entity#lifespan
instead of the configuration since items can have differing lifespans per implementation. The check in Fabric remains the same as there is no common API.The configuration options in Forge have been deprecated for removal but not removed to maintain compatibility. The
#getItemDespawnTime
without being entity sensitive also remains for this reason.