PW Political WorldDocumentation Hub
Documentation hub

Political World 1.11 / API 1.19

Start with the quick guide, then use the API reference and examples. The source under src/PoliticalWorld/API/ is the canonical contract.

01

Examples

Minimal registration, ideology, government, events, actions, addon events, world data and UI integration.

Open examples →
02

Addon template

A clean starting point for a Political World dependent NeoModLoader addon.

Open template →
03

Public API source

If prose docs and source disagree, treat the public API source as canonical and report the docs bug.

Open API source →
AI
AI-assisted development

Using ChatGPT, Claude, Codex or another coding assistant?

Start with AGENTS.md and AI_START_HERE.md. The repository documents save-format traps, runtime lifecycle, UI integration and the boundaries between public API and internal implementation.