Browse documentation

Harmony API

Types and members are generated from Harmony's public API. Use the navigation to find a type, the member index to jump within a class, or search across both guides and API reference.

Task API Guide
Apply or remove patches Harmony, PatchProcessor Install and apply patches
Declare a patch target HarmonyPatch, HarmonyMethod Annotations
Patch a selected operation HarmonyInfix, InnerTarget Infix
Find a member with reflection AccessTools, Traverse Utilities
Match and edit instructions CodeMatcher, CodeInstruction Transpilers

Browse by purpose

These entry points cover the most common tasks. The navigation includes the full generated reference.

Basics

Targeting

Attributes

Infix

Additional patch class annotations

Transpiling

Helper classes

Harmony 3 preview

For the stable release, read the 2.x documentation.