Skip to content

Commit 731051d

Browse files
committed
Mention usage of imports in AGENTS.md
1 parent 001555a commit 731051d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ The pre-commit script in `scripts/pre-commit` automatically formats staged files
132132
ln -s ../../scripts/pre-commit .git/hooks/pre-commit
133133
```
134134

135+
In general, try to use imports where possible.
136+
So avoid inlining things in like `net.minecraft.world.phys.Vec3` in the code, and instead, just add an import for `net.minecraft.world.phys.Vec3`.
137+
135138
## Development Workflow
136139

137140
1. **Understand the change**: Read the issue/feature request thoroughly

0 commit comments

Comments
 (0)