- Calling Team#addEntity registers an entity into global scoreboard memory rather than saving a Team tag directly onto the entity data
- Persisting entity UUIDs on scoreboard teams across unloads risks leaking memory if orphaned entries are not explicitly cleared

PaperMC
Community-driven open-source project providing stable, customizable, and high-performance Minecraft server software.
17,353 Online
55,175 Members
paper-dev
Summarized from recent messages. Can get things wrong.
- Custom entity data for spawn eggs can be applied using an EntitySnapshot stored on SpawnEggMeta
- Entity snapshots can be constructed from an NBT string or converted from an existing entity instance

