protected function loadMods(): void
    {
        if (!$this->isLoaded) {
            $this->mods = [];
            foreach ($this->decodeContent((string) $this->loadContent(self::HASH_FILE_MODS)) as $modData) {
                if (is_array($modData)) {
                    $mod = new Mod();
                    $mod->readData(new DataContainer($modData));
                    $this->mods[$mod->getName()] = $mod;
                }
            }
            $this->isLoaded = true;
        }
    }