Tags
Creators
Details
1.1.2-BETA-1-1.21.4
Compatibility
Required content
Changes
Changes:
-
Addition of
Context, which gives details for a certain context. -
Addition of
ContextCondition, which is a named predicate for a certain context. -
Added
ServerModsRetrievedEvent, invoked when Atlas Core retrieves the mods on the client, including name, modID, semantic version, and provided mods. -
Addition of Brigadier Opts, (kind of) a partial command library/expansion to Brigadier, but at this point merely a major utility, currently not feature-complete
Atlas Config Changes:
-
Addition of
SyncMode, defines how the configs will be synched, can be set as a default for a config and changed for particular config holders. -
Addition of
ConfigSide, defining which side the config belongs to. ALL configs must exist and be aware of each other on both sides, however this controls particular behaviour. -
Added a disconnect when there is a mismatch between the server and the client.
-
Added another abstract config base class,
ContextBasedConfig- Note: Define a generic form of the config first before using, no matter what
- Note 2: Contexts currently only provide the dimension and whether the server is dedicated
- The primary intended purpose is so that the config can change under particular contexts
Brigadier Opts
- Argument Type
OptsArgumentintroduced, allows for arguments to simply be interchangeable.- Example:
/pandora {player|effect|invisible}could be input as any of these combinations or more:/pandora invisible=true /pandora effect=in_the_end player=@s /pandora player=@s invisible=false effect=apocalyptic_boom
- Example:
- With the advent of these changes,
/atlas_confighas been updated to... not use it, but a relatively similar concept to improve functionality.
Optional dependencies
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:sNPvBBA2:ITXgGWoP"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:sNPvBBA2:ITXgGWoP"
}

