Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
knowledge_base:
mcp:
# "auto" disables MCP for public repositories, so set it explicitly.
# This is what allows the DeepWiki MCP server to be used as review context.
usage: enabled

reviews:
path_instructions:
- path: "src/main/java/**/*.java"
instructions: |
Minecraft 1.12.2 Forge mod (GTWoodProcessing / GTWP), an add-on for
GregTech CE: Unofficial (GTCEu, https://github.com/GregTechCEu/GregTech).
Optional integration with GregTech Food Option (GTFO).

GTCEu context — use DeepWiki (GregTechCEu/GregTech) to verify:
- Confirm GTCEu APIs, registries, recipe builders and material/OrePrefix usage
are used correctly, and that referenced methods/fields actually exist in the
pinned GTCEu version.
- Flag use of GTCEu internals that are not part of its public API when a public
equivalent exists.

Platform constraints (1.12.2 / Java 8 bytecode):
- Do NOT suggest Java APIs or language features unavailable on this platform
(e.g. `List.of`, records, switch expressions, text blocks).
- Do NOT suggest modern Minecraft/Forge APIs; this is the 1.12.2 Forge line.

Side boundary:
- Flag client-only types or `@SideOnly(Side.CLIENT)` members referenced from
common/server code paths — this crashes a dedicated server.

Module discovery:
- Modules are discovered via Forge's `ASMDataTable` at FML Construction
(`modules/ModuleManager.java`) — not bytecode rewriting. There is no
IFMLLoadingPlugin/ASM class transformer in this repo.

Optional integrations:
- GTFO integration must be gated (`Loader.isModLoaded()` or the module system's
dependency mechanism) so a missing GTFO cannot crash the game.

Build:
- `build.gradle` is auto-generated. Never edit it
(configure via `buildscript.properties` / `dependencies.gradle`).