Repository navigation
Building
English | 简体中文
Run gradlew buildAll to build all three enabled nodes (Forge 1.20.1, NeoForge 1.21.1 and NeoForge 26.1.2). Source is shared under Stonecutter; Forge releases come from reobfJar and NeoForge releases from jar. Release names are adventuresystems---.jar; output defaults to build/libs or output_mods_dir. The existing local mod pool is preferred before fixed official coordinates.
Use AdventureText.translatable for styled translations and AdventureText.literal for custom colored text. Edit authored text in src/main/resources/assets/adventuresystems/lang. Runtime formatting parses the active language template and caches its structure; language JSON contains only public authored keys. Preserve Component while drawing or clipping rather than flattening it with getString(). gradlew buildAll runs the 1.20.1 and 1.21.1 text checks for bilingual composition, colors, nested arguments, clipping, serialization, language switching and exact key parity.
Keep styled Component values intact. Use KineticGraphics scrollingText, scrollingTextCentered or scrollingTextRight with a width calculated from the next control or panel edge, leaving four pixels of clearance. The Core API clips and scrolls overflowing text; do not flatten it or shorten translations. Item buttons reserve a separate icon area.