Skip to content

Commit

Permalink
[no ci] clarify package guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai authored Jul 4, 2023
1 parent 59168ea commit 1bd6d47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CONVENTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ Abbreviations you shouldn't use are:
## Packages

Package names should always be singular to respect Java conventions. Try to respect the Mojang package structure to avoid
visibility problems in the future.
visibility problems in the future. For multiple-word packages, attempt to set up a structure where the words can be separated
into two packages: for example, recipe book related classes are in `recipe.book`. If this isn't possible, use underscores to separate,
as used in `feature_flag`.

## Consistency

Expand Down

0 comments on commit 1bd6d47

Please sign in to comment.