Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
The Eye
A deterministic, cross-platform Valheim API extraction tool, vibe coders love it!
| Date uploaded | 2 weeks ago |
| Version | 2.3.4 |
| Download link | Wubarrk-The_Eye-2.3.4.zip |
| Downloads | 38 |
| Dependency string | Wubarrk-The_Eye-2.3.4 |
This mod requires the following mods to function
ValheimModding-JsonDotNET
Shared version 13.0.3 of Json.NET from Newtonsoft, net45 package for use in Valheim mods. Maintained by the ValheimModding team.
Preferred version: 13.0.4denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360README
ποΈ WubarrksEye (The Eye)
"Stop guessing what the IL does. Stop decompiling 130,000 lines just to find out if
CanSenseTargetis virtual or static. The truth is in the assembly, and now it's in your hands."
Type dump_eye. Get the ground truth of Valheim β its code, its data and your live world β as JSON.
A deterministic, cross-platform extraction tool. It is, without exaggeration, a vibe coder's wet dream β but with this data at your fingertips you are not just a vibe coder any more. You are an AI-augmented game mod designer. Forget hand-grepping decompiled source for hours, forget Harmony patches bound to the wrong overload, forget finding out months later that your monster AI was inert because vanilla's Character.OnDamaged never fires for most creatures.
When a Valheim update shifts the API under everyone's feet, this is the tool that maps the new world, tells you exactly what changed against your old baseline, names which of your mods break, and feeds all of it straight to your AI pair programmer. It is not a dumper. It is an autopsy table for the game engine.
A dump β or just a boot log β now says which sector API the build has.
| Where | What it tells you |
|---|---|
Manifest.json βΊ Compatibility βΊ BuildShape |
a {Present, Shape} row for each sector member that moved on the way to 1.0: ZDOMan.FindSectorObjects (its arity and parameter types), the SimulationDistance struct, ZoneSystem.m_activeArea / m_activeDistantArea, ZNet.GetSyncedSimulationDistance(), ZoneSystem.SectorIndex, GetSectorIndex(Vector3), GetZone(Vector3), and both SectorToIndexs |
SectorApi |
one word for the build: pre-1.0, public test or 1.0 release |
| The startup log | a new [Eye.Compat] Build shape: ... line, so a log alone answers which build this is |
| More shape facts | ZDO.GetSectorIndex() records its return type; ZNetScene.InActiveArea / OutsideActiveArea record how many overloads are static |
πΉ Absent members are facts about the build, not blind readers β they never count towards the startup MISSING line Β· πΉ Huginn stays strict: the (int, int) β SimulationDistance change still surfaces as a real signature change, not a type-only ripple.
| If⦠| Then⦠| |
|---|---|---|
| π§ͺ | you want a clean baseline | dump on a profile with only BepInEx and The Eye. Manifest.json lists every loaded plugin, so a contaminated dump is at least visible on sight. |
| π¦ | a Valheim update is coming | copy the game folder first. Steam overwrites it on launch day and the old build is gone. |
| πΊοΈ | you dump from the main menu | you get the API and the call graph; everything else needs a loaded world. |
| β οΈ | you see ForceGlobalActiveArea |
leave it off. It forces the game to instantiate every object in the world for the whole session, and the dump does not need it. |
Every type, every value, every registry and every object in the world β keyed, sorted, diffable.
| File | Contains | Keyed on |
|---|---|---|
Manifest.json |
build identity, the md5 of every game DLL, plugins, world, options, per-file results | |
API_Dump.json |
every type in the game assemblies with its full member surface and IL fingerprints | FullName |
Values_Dump.json |
field contents for items, recipes, status effects, prefabs, vegetation, locations | _Source/_Key |
Registry_Dump.json |
enums, ZDOVars, commands, spawns, environments, raids, pieces, skills, localization | _Source/_Key |
CallGraph_Dump.json |
per-method IL edges, the CalledBy index, the RpcRegistration index |
Type.Signature |
Prefabs_Dump.json Β· ObjectDB_Dump.json Β· Scene_Dump.json |
component lists | Name |
ZDO_Dump.json |
every ZDO in the loaded world, with its keys and values | UID |
ModImpact_Dump.json |
which of your mods break on this build | plugin GUID / patch target |
Huginn_Report.md Β· Huginn_Summary.json Β· Huginn_Diff_Report.jsonl |
what changed against your baseline |
π Read the saga β what is in each file
Manifest.json β every dump knows what build it came from. Valheim stamps every DLL 0.0.0.0, so The Eye writes, before anything else, the game version string with build hash, the Steam buildid, the md5 and size of every DLL in Managed/, the BepInEx version and every loaded plugin, the world's name, seed, global keys and save details, and the options used.
The API dump. The full member surface per type: fields with modifiers and constant values, properties with accessor visibility, events, constructors, full method signatures with virtual / override / abstract, interfaces, attributes, nested types and enum values. Members are keyed by name, so a renamed overload is one line in the diff. Game assemblies only by default β the 20,000-type mscorlib noise is gone.
Registry_Dump.json β where a new biome shows up first. Enums with values, the ZDOVars hash table, console commands with cheat/server/admin flags, spawn tables, creature spawners, environments and biome weather, raids, piece tables with every piece and its costs, skill definitions, and the full localization table.
Values_Dump.json. Declarations tell you a field exists; this tells you what is in it. Flattened to dotted paths, cycle-safe, with per-entry budgets so it never explodes.
A ZDO dump that means something. Prefab hash resolved to a name, rotation, sector, persistence, revisions, creation time, and every key/value the ZDO carries, with hashes mapped back to names (health, owner, itemsβ¦). Every string literal in the game and plugin assemblies is hashed into the reverse map, _u / _i pair suffixes included, so most of the #hash keys in a modded dump have names.
AgentML_Complete_Dump.zip bundles everything as one minified JSONL plus the manifest, for machine ingestion.
Point it at an old dump, and it tells you exactly what the update changed.
| π¦ββ¬ A real diff | every record keyed on its identity: ADDED, REMOVED and CHANGED per file, with field-level old and new values |
| 𧬠IL fingerprints | a hash of every method's normalized IL, so code that changed under an unchanged signature shows as BodyChanged |
| π·οΈ Classified changes | Added, Removed, SignatureChanged, BodyChanged, TypeOnlyRipple, Renamed (same fingerprint, new name), ValueChanged |
π₯ A Breaking block |
types and members removed, signature changes, ripples, RPCs, ZDOVars and console commands removed, plugins broken |
π Huginn_Report.md |
the page a person reads first β breaking changes by type, body-only changes, additions, new items and prefabs, and the mod impact table |
| π§ Schema-aware | upgrading The Eye between two dumps no longer turns every record CHANGED; an older baseline stays useful |
π Read the saga β why body changes matter
A game update is mostly code that moved inside methods whose signatures did not β 392 of the changes in the 1.0 public test were exactly that β and it is what transpilers and behaviour-dependent patches trip over. The fingerprint normalizes the IL (opcodes, resolved operand names, relative branch targets, locals, exception handlers), so only a real change moves it.
TypeOnlyRipple collapses changes where only Vector2i/Vector2s or Int16/Int32 moved. Renamed needs both dumps to carry fingerprints, so it cannot fire against a baseline taken before they existed. A top-level field that exists in only one side's schema is excluded from the comparison and listed once per file as SchemaAdded / SchemaRemoved.
Pick the baseline with dump_eye baseline=<dir> or [Huginn] HuginnBaselineDir, and read Huginn_Summary.json's counts first.
The day-one breakage list β without loading a single mod.
| π Every reference, resolved | each plugin is read with Mono.Cecil and every reference into a game assembly is checked against the running build |
| π§Ύ Per plugin | the exact unresolved methods, fields and types, and the plugin methods that use them |
| π― Harmony targets | every [HarmonyPatch] target that is missing, or now ambiguous because a new overload appeared |
| π Bridged | whether a preloader patcher such as Valheim10Compatibility filled the gap in memory |
| πΊοΈ The live patch map | who patches which game method |
| π The bridge priority list | unresolved references ranked by how many plugins need them |
π Read the saga β scanning, and what it cannot see
It checks every plugin BepInEx loaded, plus any folder you point it at ([ModImpact] ScanPluginDirs or dump_eye scan=<dir>). Run it from a clean profile with scan= pointing at your mod manager profile's plugins folder, and you have the breakage list without loading any of them. On a server, client-only types are flagged as axis noise, not counted as broken.
What it cannot see: targets found by string name (AccessTools.Method(typeof(X), "Name")) or by TargetMethod() show as Unchecked β Harmony's own log at PatchAll is the backstop. And a field whose type changed cannot be bridged by any preloader, only by the mod itself; on 1.0 that is VisEquipment's item fields and the ZoneSystem / ZDOMan sector containers.
The questions reflection cannot answer, answered before you grep the decompile.
| Question | Where |
|---|---|
| Which type declares this member? | API_Dump.json β members are DeclaredOnly, so if m_targetCreature sits under MonsterAI it is not on BaseAI |
| What is the full overload set? | API_Dump.json, with complete parameter types |
Is it virtual, override or abstract? |
API_Dump.json, derived from GetBaseDefinition() |
Does this override call base? |
ChainsToBase β Humanoid.OnDamaged does not, so a patch on Character.OnDamaged never fires for most creatures; Player.OnDamaged does |
| Which overload does a call really reach? | Calls[].Op: call against callvirt β a base chain against re-dispatch, a static target against an instance one |
| Who calls this? | the CalledBy index |
| Which RPC names exist, and who registers them? | the RpcRegistration index β a renamed RPC is one diff line |
π Read the saga β one note on accessibility
Accessibility is the runtime assembly's. Projects compiling against a publicized assembly_valheim see private members here as directly callable. Every call and field-access edge comes from the method IL itself.
It keeps working when the game changes under it β and the game keeps running while it works.
| π‘οΈ Late-bound readers | every game member that moved is looked up by name at first use; a missing one costs one field in one record, never a whole extractor |
π§© A Compatibility section |
every game member The Eye relies on and whether this build has it β the BepInEx log says the same at startup |
| π Zero stall | coroutine-batched, scaled to your RAM, cancellable, streamed straight to disk β a full dump on a dedicated server takes about a minute |
| π§Ή Deterministic | UTF-8 without BOM, sorted records, invariant round-trip floats β two dumps of the same build on the same world are byte-identical, and that was verified |
First ten minutes: load a world β F5 β dump_eye β eye_status until it is done β open BepInEx/config/WubarrksEye_Dumps/<timestamp>/ β hand the files to your AI β write better mods, you vibe coder you.
| Key | Command | ||
|---|---|---|---|
| F8 | the panel, with Start Dump | dump_eye |
a full dump |
| F9 | toggle the HUD | eye_status |
dump progress and the last output folder |
| F5 | Valheim's console | dump_eye baseline=<dir> scan=<dir> |
diff against a baseline; scan another plugin folder |
nodiff noml nozdo noscene noloc noimpact |
skip the diff, the AgentML bundle, ZDOs, the scene, localization, mod impact |
π§ Take a baseline before a Valheim update
- Copy the game folder first. Steam overwrites it on launch day.
- Dump on a clean profile (BepInEx and The Eye only).
- Dump from the main menu, from inside a world, and from your dedicated server if you patch server code.
- After the update:
dump_eye baseline=<your old dump> scan=<your profile's BepInEx/plugins>, and readHuginn_Report.mdfirst. The mod impact table at the bottom is the list of mods to fix or bridge; theBreakingblock inHuginn_Summary.jsonis the count.
π₯οΈ Dump a dedicated server
A dedicated server has no console to type into. Set [Automation] AutoDumpOnWorldLoad = true and it dumps once the world is populated (after AutoDumpDelaySeconds); add AutoDumpQuit = true and it exits afterwards. A one-shot server baseline.
| Mod | |
|---|---|
| Valheim10Compatibility | Recognised: references it bridges in memory are reported as Bridged, by its bridge marker. |
| Any other plugin | Listed in the manifest, scanned for mod impact, and its Harmony patches shown in the live patch map. |
Configuration Manager (F1) in game, or BepInEx/config/wubarrk.theeye.cfg.
π₯οΈ Local to your game β nothing is synced
| Section | Setting | What it does |
|---|---|---|
| API | ApiAssemblyFilter |
assemblies covered by the API and enum dumps (assembly_*,gui_framework,Splatform; * for everything loaded) |
| API | ApiIlFingerprints |
the IL hashes behind BodyChanged (on) |
| ModImpact | ScanPluginDirs |
extra plugin folders to scan, separated by semicolons |
| Huginn | HuginnBaselineDir Β· HuginnMaxDeltasPerRecord Β· HuginnMarkdownReport |
a fixed baseline Β· the cap on deltas per CHANGED record (200) Β· write Huginn_Report.md (on) |
| ZDO | ZdoIncludeData |
every ZDO key and value (on) |
| ZDO | ForceGlobalActiveArea |
the old instantiate-everything patch β leave it off |
| Registry | DumpLocalization |
the full token β text table (on) |
| Automation | AutoDumpOnWorldLoad Β· AutoDumpDelaySeconds Β· AutoDumpQuit |
the headless one-shot dump (off Β· 20 Β· off) |
| Hardware | SystemMemoryProfile |
batch sizes per frame (Rig_16GB) |
Needs: BepInExPack Valheim 5.4.2360 Β· JsonDotNET 13.0.4 (Newtonsoft.Json) β install with a mod manager, or unzip into BepInEx/plugins.
- Plugin scanning uses Mono.Cecil β the copy BepInEx 5 already loads; none is shipped here.
Made by Wubarrk β ravenirongames.com. License: MIT. Copyright (c) 2026 Ross G. Full text in LICENSE.md.
CHANGELOG
Changelog β The Eye
2.3.4 β 2026-11-12 (store page update)
Store page rewritten to the new layout and now the same on every store; the website link now goes to
https://ravenirongames.com/. No change to the mod: WubarrksEye.dll is the same file as in 2.3.3.
2.3.3 β 2026-11-01 (Valheim 1.0.21 compatibility)
Rebuilt against the Valheim 1.0.21 release assemblies (network version 41) and re-verified: a static
reference check against both the client and dedicated-server assemblies, and a headless boot of the
1.0.21 dedicated server. No reader was broken - every member GameShape late-binds is unchanged,
and the members 1.0.21 changed or removed (PlayerProfile.GetStat, Ship.UpdateSail*,
CookingStation.SetSlot, ItemDrop.ResetVariantIfInvalid, CharacterDrop.s_pseudoCounter) are not read
by TheEye.
- Website link moved to https://www.rossgilsonlabs.dev.
- Depends on BepInExPack Valheim 5.4.2360.
2.3.2 β 2026-09-25 (Valheim 1.0.16 compatibility)
Rebuilt against the Valheim 1.0.16 release assemblies (client build 25527674, dedicated server
build 25527701, network version 40) and re-verified: a static reference check against both the
client and dedicated-server assemblies, and a headless boot of the 1.0.16 dedicated server. No
reader was broken - GameShape's BuildShape probe and every other late-bound member are
unchanged from 1.0.15, and the only two members 1.0.16 removed (ObjectDB.GetAllFoodItems(),
ButtonSfx.Start()) are not read by TheEye.
- One comment corrected to stop naming a specific old build as if it were current: the
ZNetScene.InActiveArea/OutsideActiveAreastaticness note inZDOExistencePatch.cs(verified unchanged against the 1.0.16 decompile).
2.3.1 β 2026-09-09 (Valheim 1.0.7 compatibility)
Rebuilt against the Valheim 1.0.7 release assemblies (client build 25185596, dedicated server
build 25185644, network version 39) and BepInEx 5.4.2350, and loaded on the 1.0.7 Linux dedicated
server with no Harmony, missing-member or type-load errors. No reader was broken by 1.0.7 - every
member GameShape late-binds is still present or already had a fallback - but the instrument was
blind to the release-stage sector change. Now it is not.
Manifest Compatibility gains BuildShape
- The 1.0.7 release changed the sector API a second time after the 0.221.13 playtest:
ZDOMan.FindSectorObjects(Vector2s, int area, int distantArea, ...)becameFindSectorObjects(Vector2s, SimulationDistance, ...)andZoneSystem.m_activeArea/m_activeDistantAreawere removed. Nothing in the 2.3.0 probe looked at that shape, so a 2.3.0 dump could not tell the playtest from the release. BuildShaperecords, as{Present, Shape}rows using type names (nevertypeof()on a type an older build may lack):ZDOMan.FindSectorObjects(arity and parameter types), theSimulationDistancestruct,ZoneSystem.m_activeArea/m_activeDistantArea,ZNet.GetSyncedSimulationDistance(),ZoneSystem.SectorIndex,ZoneSystem.GetSectorIndex(Vector3),ZoneSystem.GetZone(Vector3),ZDOMan.SectorToIndex/ZoneSystem.SectorToIndex(moved, not removed), and a one-tokenSectorApiclassification (pre-1.0 / 0.221.13 playtest / 1.0 release).ZDO.GetSectorIndex()now records its return type;ZNetScene.InActiveArea/OutsideActiveArearecord how many overloads are static. AbsentBuildShapemembers are facts about the build, not blind readers: they never count towards the startup MISSING line.- New startup line
[Eye.Compat] Build shape: ..., so a boot log alone answers which build this is.
Unchanged on purpose
- Huginn's
TypeOnlyRipplecollapse still covers onlyVector2i/Vector2sandInt16/Int32. The(int, int) -> SimulationDistancechange is an arity change and keeps surfacing as a real signature change. - Stale comments refreshed (
GameShape,Plugin.ApplyActiveAreaOverride,ZDOExistencePatch,HuginnsReport): the by-name attachment of the active-area prefixes is what survives 1.0 makingZNetScene.InActiveAreastatic.
2.3.0 β 2026-09-08 (the 1.0 migration release)
Built and verified against the Valheim 1.0 public-test build (0.221.13, build 23105022, network version 37) on a headless dedicated server, and against the last pre-1.0 server build.
Survives the build change
ZDO.GetSector()(nowVector2s), the seven removedZDOExtraData.Get*s(ZDOID)readers (nowGetData(out ...)),World.m_worldVersion(now an enum) and theZNetScene.InActiveArea/OutsideActiveAreaoverloads are late-bound throughGameShape. A missing member costs one field, never an extractor. Three strategies for ZDO data (GetData,Get*s, private dictionaries).Manifest.jsonCompatibilitysection: every game member TheEye relies on, present or MISSING, plus the ZDO data strategy in use. Logged at startup.- Manifest
WorldgainsWorldVersionName,ChunkedSave,SaveNumber,FileSource,SaveFiles.
New ModImpact_Dump.json
- Every loaded plugin plus any folder in
[ModImpact] ScanPluginDirs/dump_eye scan=<dir>is read with Mono.Cecil; every member and type reference into a game assembly is resolved against the running build. Unresolved references list the plugin methods that use them. [HarmonyPatch]attribute targets are checked: type-missing, method-missing, overload-missing, and ambiguous (a new overload appeared and no argument types were given).- References missing on disk but present in memory are reported as
Bridged, with theValheim10Compatibility bridgemarker recognised. - Live Harmony patch map (
HarmonyPatchindex records) and aModImpactSummary. - Client-only types are flagged as axis noise when scanning on a server, not counted as broken.
IL fingerprints
API_Dump.jsontypes carryMethodBodies: a hash of each method's normalized IL (opcodes, resolved operand names, relative branch targets, locals, exception handlers).[API] ApiIlFingerprints.
Huginn's Report
- Schema-aware: top-level fields present in only one side are excluded from the comparison and
listed as
SchemaAdded/SchemaRemovedper file. A 2.2.0 baseline diffs cleanly against 2.3.0. - API CHANGED records carry
Members: Added, Removed, SignatureChanged, BodyChanged, TypeOnlyRipple (Vector2i/Vector2s, Int16/Int32 only), Renamed (same IL fingerprint), ValueChanged. Huginn_Summary.jsongainsBreakingcounters and the current dump'sModImpactsummary.- New
Huginn_Report.md: human-readable summary with breaking changes grouped by type, body-only changes, additions, registries by source, content, and the mod impact table with unresolved references ranked by plugin count.[Huginn] HuginnMarkdownReport. ModImpact_Dump.jsonis keyed by plugin GUID / patch target.
ZDO keys
- The key reverse map now hashes every string literal in the game and plugin assemblies, plus the
_u/_ipair suffixes, so most#hashkeys resolve.SectorIndexemitted on 0.221.13+.
Console
dump_eye scan=<dir>andnoimpact.
Reference DLLs
libs-Tools/Mono.Cecil.dll(0.10.4.0, the copy BepInEx 5 loads) added for compile; not shipped.
Known limits (measured 2026-09-08)
- ModImpact cannot see patch targets resolved by string (
AccessTools.Method(typeof(X), "Name")) or byTargetMethod(); they show asUnchecked. Harmony's own log at PatchAll is the backstop. - A field whose type changed (0.221.13:
VisEquipment.m_*Itemstring -> int,ZoneSystem.m_zones,ZDOMan.m_objectsByOutsideSector) cannot be bridged by any preloader; it is reported as unresolved and the only fix is in the mod. Bridged references are recognised by theValheim10Compatibility bridgemarker. Renamedneeds both dumps to carryMethodBodies, so it cannot fire against a 2.2.0 baseline.
2.2.0 β 2026-09-03 (pre-1.0 baseline release)
Provenance
- New
Manifest.json, written before any extractor runs: game version string with build hash, Steam buildid, md5 + size of every Managed DLL, BepInEx version and every loaded plugin, world name/seed/global keys, options used, and per-file results when the dump ends. Also bundled into the AgentML zip.
API dump rewritten
- Full member surface per type: fields (with modifiers and constant values), properties (with
accessor visibility), events, constructors, methods (full signatures with
virtual/override/abstract), interfaces, attributes, nested types, enum values, Unity metadata. - Members are objects keyed by name so Huginn reports member-level adds and removes.
- Only game assemblies by default (
[API] ApiAssemblyFilter); compiler-generated types skipped. - Sequential, sorted by FullName. The old
Parallel.ForEachmade the file order random per run.
Huginn's Report rewritten as a structural diff
- Every record is keyed on its identity; the report says ADDED, REMOVED and CHANGED per file, with
flattened field-level deltas (old/new) for CHANGED and a
Huginn_Summary.jsonof counts. - The baseline can be chosen:
dump_eye baseline=<dir>or[Huginn] HuginnBaselineDir. - The old line-hash diff could not say "removed" and produced an 80 MB report of
ADDED_OR_MODIFIED.
ZDO dump
- Prefab hash resolved to a prefab name. Adds rotation, sector, persistence, object type,
revisions, creation time, and every key/value from
ZDOExtraDatawith hashes reverse-mapped throughZDOVars. Sorted by UID. - The ZNetScene active-area override is now off by default (
[ZDO] ForceGlobalActiveArea). It forced the game to instantiate every ZDO in the world for the whole session and the dump never needed it on a host.
New Registry_Dump.json
- Enums with values,
ZDOVarshash table, console commands with cheat/server/admin flags,SpawnSystemListspawn tables,CreatureSpawnerprefabs, environments and biome environments, random events, piece tables and every piece with requirements, skill definitions, and the full localization table.
Call graph
RpcRegistrationindex records: the RPC name string and the registering method for everyZNetView/ZRoutedRpc/ZRpc.Registercall.- Types and the
CalledByindex are sorted.
Determinism and hygiene
- All output is UTF-8 without BOM (line splitters were dropping the first record).
- Prefabs and ObjectDB items sorted by name; positions and floats in invariant round-trip format.
- Localization now resolves (
Localizationlives inassembly_guiutils; the old reflective lookup askedassembly_valheimand 894 display names stayed as$tokens).
Console and automation
dump_eyeoptions:baseline=<dir> nodiff noml nozdo noscene noloc; results print to the in-game console, not only the BepInEx log. Neweye_status.[Automation] AutoDumpOnWorldLoad/AutoDumpDelaySeconds/AutoDumpQuitfor dedicated servers, which have no console to type into.
2.1.1
- ValueExtractor (
Values_Dump.json) and CallGraphExtractor (CallGraph_Dump.json) added. - Streaming JSON dump engine, AgentML zip bundle, F8/F9 IMGUI controls, line-hash Huginn's Report.
1.2.9
- Fixed Readme file
1.2.8
- Initial public release