| title | Package overview | ||
|---|---|---|---|
| description | The fourteen shipping UMPK packages, what each one owns, and which way the dependencies point. | ||
| sidebar |
|
UMPK is split into fourteen NuGet packages. Thirteen of them contain code; the fourteenth, Umpk, is a meta package that references a useful subset of the others so you can add one thing and get a working client. The split is not cosmetic. Umpk.Nbt and Umpk.Text have no idea a network exists, and you can use them on their own to read a region file or render a chat component without ever opening a socket.
| Package | What it owns |
|---|---|
| Umpk.Core | Identity, geometry, the event helper, hosting seams. No dependencies at all. |
| Umpk.Nbt | NBT tags, the three Java wire framings, SNBT, allocation accounting. |
| Umpk.Text | Chat components, styles, click and hover events, JSON and NBT serializers. |
| Umpk.Game | The game model: blocks, entities, items and components, containers, registries, world storage. |
| Umpk.Data.Java | Generated per-protocol tables for 50 protocols, plus JavaVersions and JavaGameData. |
| Umpk.Data.Lang | Generated per-protocol vanilla en_us translations with hand-written lookup and formatting support. |
| Umpk.Protocol.Java | Codecs, packet registration, framing, login and encryption, chat signing, status pings. |
| Umpk.Client | The session runtime: connect, apply packets to state, raise events, send actions. |
| Umpk.Physics | Tick-accurate player movement and collision with per-era profiles. |
| Umpk.Pathfinding | An A* planner over a captured world region, plus per-move execution templates. |
| Umpk.Commands | A Brigadier-backed command tree with scoped registration and completions. |
| Umpk.Auth | Microsoft device code and browser flows, Yggdrasil, offline identity, a token store. |
| Umpk.Realms | The Realms HTTP API: list worlds, join one, check compatibility. |
Umpk |
Meta package. References Umpk.Client, Umpk.Data.Java, Umpk.Data.Lang, Umpk.Auth, Umpk.Physics and Umpk.Pathfinding. It contains no code of its own. |
Worth noticing about the meta package: it does not reference Umpk.Realms, and it only picks up Umpk.Commands, Umpk.Game, Umpk.Text, Umpk.Nbt, Umpk.Core and Umpk.Protocol.Java transitively through Umpk.Client. If you want Realms, reference Umpk.Realms explicitly.
Umpk.Core sits at the bottom and depends on nothing but Microsoft.Extensions.Logging.Abstractions. Everything else is layered on top of it.
Umpk.Core
├── Umpk.Nbt
├── Umpk.Text (Core, Nbt)
│ └── Umpk.Data.Lang (Text)
├── Umpk.Game (Core, Nbt, Text)
├── Umpk.Protocol.Java (Core, Nbt, Text, Game)
│ └── Umpk.Data.Java (Protocol.Java)
├── Umpk.Physics (Core, Game)
│ └── Umpk.Pathfinding (Core, Game, Physics)
├── Umpk.Commands (Core, Text)
└── Umpk.Auth (Core, Protocol.Java)
└── Umpk.Realms (Auth)
Umpk.Client (Core, Game, Protocol.Java, Commands, Text, Physics, Pathfinding, Data.Java)
The one edge that surprises people: Umpk.Data.Java depends on Umpk.Protocol.Java, not the other way round. Generated per-version descriptors are built out of protocol types, so the data package sits above the protocol package. Umpk.Protocol.Java on its own has no version tables; it gets them handed to it.
Umpk.Server and Umpk.Proxy exist as projects in the solution and contain zero .cs files. Their test projects, tests/Umpk.Server.Tests and tests/Umpk.Proxy.Tests, are likewise empty. They are reserved names, not shipped code. There is no server-side connection layer and no proxy. Do not plan around them.
Bedrock Edition is not supported and not started.
Every package's PublicAPI.Shipped.txt is empty. Everything public lives in PublicAPI.Unshipped.txt, which is the analyzer's way of saying nothing has been committed to yet. Names, signatures and whole types can change without a major version bump until that changes. If you build on UMPK today, pin a version.
Those PublicAPI.Unshipped.txt files are also the most reliable index of what actually exists. When these docs and the source disagree, the source wins; when you want the complete list rather than the curated one, read the file for the package.
Every shipping package targets net10.0, enables nullable reference types, builds with TreatWarningsAsErrors, and is marked IsAotCompatible. That last one is why you will not find reflection-based activation or assembly scanning anywhere in src/: the design always has a generated table or an explicit registration instead.
Where to go next: installation, then the status ping and minimal bot walkthroughs. For the ideas that run through all of these packages, read versions and protocols and vanilla as the oracle.