Tags
Creators
Details
1.0.3
Compatibility
Changes
Flex Conditions
Added support for conditions that must be met in order for the player to flex their held item. The new setting is located under:
# Conditions that must be met for the item to be flexed.
# Available Conditions:
# pdc: Item must have the specified key in its PersistentDataContainer.
# - Format: "pdc,<key>,<type>,<value>"
# - Example: "pdc,itemflex:test,STRING,test"
Flex-Conditions: []
The only available condition at the moment is PDC, more will be coming in the future!
This update also brings a new message that is sent when the item does not meet the flex conditions:
# Shown when the player tries to flex an item that does not meet the flex conditions.
Cannot-Flex: "#FF5555You cannot flex that item!"
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:1UJqIwc0:Yw0FKrVg"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:1UJqIwc0:Yw0FKrVg"
}


