despawn entity spigot code example Example: spigot despawn entity entity.remove() // this will mark it for removing