Tags
Creators
Details
1.0.1
Compatibility
Changes
ConditionsMod 1.0.1
New
- Added new
Clientcategory in/cd create - Added new
cameraevent - Added new
keyevent - Added fully integrated
svrsystem inside/cd svr - Added support for
call_eventto call events from other configs - Added new public API for developers
Client Events
-
Added
cameraevent with modes:2drpgblock/setblockreset
-
Added related actions:
camera_2dcamera_rpgcamera_setblockcamera_reset
-
Added
keyevent for blocking keyboard keys and mouse buttons from configs -
Added support for client targets:
%player%all- player names
- compatible selectors
SVR System
-
Added fully integrated
svrsystem inside/cd -
New commands:
/cd svr create/cd svr set/cd svr get/cd svr add/cd svr reduce/cd svr reset/cd svr list/cd svr reload
-
Added new
svr_*placeholders -
Added support for:
- global variables
- player variables
- numeric variables
- text variables
- list variables
-
Added
customevent support for detectingsvrvariable changes
call_event
- Events can now call other events using
call_event - Works even if the target event is inside another config file
- Added protection against infinite recursive event loops
Developer API
-
Added public API for integrations with other mods
-
Supports:
- registering custom actions
- registering custom placeholders
- triggering
customevents - reading and modifying
svrvariables
-
Public namespace:
santiivlog.dev.conditionsmod.api
Internal Improvements
- Consolidated listener handling into a single
ListenerManagerclass - Reorganized client systems and structured event logic
- Prepared the project for Maven dependency distribution for developers
Fixes
- Fixed an issue where some
conditionscould be ignored conditionsnow supports both JSON object format and legacy string format- Fixed cases where placeholders like
%item%,%item_name%, and%item_custom_model_data%were not evaluated correctly - Improved compatibility for loading legacy config formats
- Added a warning message when players attempt to use client-side features without the client mod installed
Compatibility
- Removed old references and cleaned up the internal variable system structure
- Maintained compatibility with older placeholders where necessary to avoid breaking old configs
Wiki
- Examples, documentation, guides, and configuration references can now be found in the official ConditionsMod Wiki
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:KQnF6qy7:A3gBSKHb"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KQnF6qy7:A3gBSKHb"
}

