Docs generator ignores `@ZenCodeType.Field#value`
Hubry opened this issue ยท 0 comments
Issue Description:
The docs generator uses the internal field name instead of the script-facing one, around here?
What happens:
/** The manager for the standard Orechid. */
@ZenCodeType.Field("main")
public static final OrechidManager MAIN = new OrechidManager(() -> BotaniaAPIImpl.weights, "Orechid");
/** The manager for the nether variant, Orechid Ignem. */
@ZenCodeType.Field("nether")
public static final OrechidManager NETHER = new OrechidManager(() -> BotaniaAPIImpl.netherWeights, "Orechid Ignem");
gets turned into
## Static Properties
| Name | Type | Has Getter | Has Setter | Description |
|------|------|------------|------------|-------------|
| MAIN | [Orechid](/mods/Botania/Orechid) | true | false | The manager for the standard Orechid. |
| NETHER | [Orechid](/mods/Botania/Orechid) | true | false | The manager for the nether variant, Orechid Ignem. |
What you expected to happen:
## Static Properties
| Name | Type | Has Getter | Has Setter | Description |
|------|------|------------|------------|-------------|
| main | [Orechid](/mods/Botania/Orechid) | true | false | The manager for the standard Orechid. |
| nether | [Orechid](/mods/Botania/Orechid) | true | false | The manager for the nether variant, Orechid Ignem. |
Script used: n/a
crafttweaker.log file: n/a
Environment:
- Minecraft Version: 1.16.5
- Forge Version: 36.0.46
- CraftTweaker Version: 7.1.0.291 (current latest)
- Are you using a server: n/a (annotation processor issue)