Tags
Creators
Details
4.0.0
Compatibility
Changes
v4.0.0 Major Update!
Changelog:
- Fixed a bug where the multi-trauma profiles do not work as intended; now they do.
- Support the latest version of Sound Attract.
- Support Item & Block Attraction. The lure item will override fear.
- Supporting complex logic like HEALTH_PERCENT, IS_DAY, IS_RAINING, and Y_LEVEL.
{
"group_id": "example:scared_when_hurt",
"conditions": [
{ "type": "health_percent", "max": 0.5 },
{ "type": "is_raining", "value": true }
],
"stages": [ ... ]
}
- Example datapacks at:
-
https://github.com/Sylsatra/firefearmod/tree/4.0.0-1.20.1/datapacks/example_lure_showcase This one showcases that the Item & Block Attraction item will override zombie's fear of the player.
-
https://github.com/Sylsatra/firefearmod/tree/4.0.0-1.20.1/datapacks/example_multiprofile This one showcases that the cow will flee at a different speed depending on the source, fire = 1.6x; player = 1.0x.
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:L6gUIWwz:d1ezwKYL"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:L6gUIWwz:d1ezwKYL"
}

