You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+89Lines changed: 89 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,3 +83,92 @@ All 24 locale files use **MiniMessage format** (e.g., `<red>`, `<dark_blue>`). L
83
83
## CI
84
84
85
85
GitHub Actions workflow on `develop` branch and PRs: builds with Java 21, runs JaCoCo coverage, reports to SonarCloud.
86
+
87
+
## Dependency Source Lookup
88
+
89
+
When you need to inspect source code for a dependency (e.g., BentoBox, addons):
90
+
91
+
1.**Check local Maven repo first**: `~/.m2/repository/` — sources jars are named `*-sources.jar`
92
+
2.**Check the workspace**: Look for sibling directories or Git submodules that may contain the dependency as a local project (e.g., `../bentoBox`, `../addon-*`)
93
+
3.**Check Maven local cache for already-extracted sources** before downloading anything
94
+
4. Only download a jar or fetch from the internet if the above steps yield nothing useful
95
+
96
+
Prefer reading `.java` source files directly from a local Git clone over decompiling or extracting a jar.
97
+
98
+
In general, the latest version of BentoBox should be targeted.
99
+
100
+
## Project Layout
101
+
102
+
Related projects are checked out as siblings under `~/git/`:
0 commit comments