Tags
Creators
Details
All versions
1.5.0
Release
TheDragonLib 1.5.0 for NeoForge 26.1.25 days ago 21
Compatibility
Minecraft: Java Edition
26.1.2
Platform
NeoForge
Supported environments
Client and server
Changes
26.1.2 - 1.5.0
Rule Editor
- Added
client.config.RuleClipboard— copied lines start with a# <mod>:<key>header naming the list they came from. Paste also accepts lines copied straight from the.tomlfile. - Added Copy all and Paste to
RuleListScreen. Paste adds every valid line on the clipboard, skips invalid lines and duplicates, and lists the skipped ones with the reason on hover. The Paste tooltip previews what would be added. - Added
client.config.RuleConversionsandRuleListScreen.withConversions— lines copied from the mod's other rule lists are converted field by field (by name), with defaults for required values the source doesn't have. - Added
client.config.FieldExtension(set onRuleListContext) — extra data a picker field carries after its id (e.g.minecraft:diamond_sword[damage=5]orminecraft:zombie{IsBaby:1b}), edited in its own screen from a button next to the input. Suggestions, validation and names use the id alone, and picking another id keeps the data. - Added
RuleListScreen.withGrouping— lines sharing a value in one field collapse into a single row (with Copy, Open and Delete) once there are enough of them. Only the display changes; new lines inside a group start with the group's value. - Added
client.config.UnsavedChangesScreen— leaving a rule list or rule editor with changes asks to Save, Discard or Keep editing. Done still saves straight away. - Rule screens now show breadcrumb titles (e.g. "Mod › List › Edit line 3"), with a yellow dot while there are unsaved changes.
- Added
Field.withToggleValues(on, off)— aTOGGLEcan save values other thantrue/false. Made optional with its off value as the fallback, it leaves the value out while off. - Added
RuleSuggestionSource.selectors— options like tags (#id) or whole mods (modid:*), offered after*by fields that accept wildcards and rejected by fields that don't. EntryPickerScreen.Candidatecan have a custom detail line, andEntryPickerScreen.withEmptyTextshows a message when nothing matches.EntryPickerScreentitles and entries are cut off with the full text on hover instead of running past the screen edge.- Fixed the suggestion list staying up on the previous picker after focusing a number, toggle or other field, and text cursors showing in more than one input.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:DXK9oAjb:CfXwNlhJ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:DXK9oAjb:CfXwNlhJ"
}

