Search CNPC JavaDoc
searchFind CustomNPCs JavaDoc API methods, fields, and class hierarchies across Minecraft versions and forks using a flexible boolean expression syntax.
Instructions
Search CustomNPCs (CNPC) JavaDoc API — methods and fields across versions and forks.
expression syntax: term — case-insensitive substring term:modifier — substring match in column; term::modifier — exact match in column a&b (AND) | a|b (OR) | {expr} (grouping). & has higher precedence than |. "noppes.npcs.api.entity.ICustomNpc" auto-expands to "/" and "$" paths.
Modifiers: all (default) — all columns class — class (full path) classname — class name after last '/' package — package before last '/' name — name (methods+fields) method — same column, methods only field — same column, fields only desc — desc (JVM descriptor) modifier — access, is_static side — sideonly (always common for CNPC)
Scoring: exact case hit = 1.0, case-insensitive = 0.5, then by mismatch (less unmatched chars ranks higher).
Common patterns: "ICustomNpc::classname" → exact class name only "Script:classname" → all classes containing "Script" "noppes/npcs/api/entity:package" → all classes under a package "health:field" → fields only, no methods "()Z:desc" → methods returning boolean "get:method&static::modifier" → static methods containing "get" output="%class%" → deduplicated class list
Version format: "1.12.2" for standard, "cnpc+:1.7.10" for CustomNPC+ fork.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed). Default: 1 | |
| limit | No | Number of results per page (default: 20, max: 100) | |
| output | No | Output format template using %variable% syntax (case-insensitive). Variables: %type%, %class% (full class path), %name% (method/field name), %desc% (JVM descriptor), %access%, %is_static% (static/non-static), %sideonly%, %match%, %mismatch%. Consecutive spaces collapsed. Identical outputs deduplicated. | [%type%] %class%/%name% %desc% %access% %is_static% %sideonly% |
| expression | Yes | Boolean search expression (case-insensitive, exact case match scores higher). Syntax: term, term:modifier (substring match in column), term::modifier (exact match in column), a&b (AND), a|b (OR), {expr} (grouping with braces). Modifiers: all, class, classname, package, name, method, field, desc, modifier, side. & has higher precedence than |. Examples: "Entity::classname", "walk:method&static::modifier", "noppes/npcs/api/entity:package" | |
| mc_version | Yes | Minecraft version to search (e.g. "1.12.2", "1.20.1"). Supported: 1.10.2, 1.11.2, 1.12.2, 1.16.5, 1.18.2, 1.20.1, 1.7.10, 1.8.9, 1.9.4, BetaZavr:1.12.2, BetaZavr:1.20.1, cnpc+:1.7.10 |