2.0.0
Compatibility
Changes
+Added Aggrobaiting Enchantment
(This feature is currently in beta and may not work as intended)
Right click while holding an item enchanted with Aggrobaiting will trigger its effects
+Added Config File
Bait Level - Amount of aggro applied by the effects of Aggrobait
eg. A Bait Level of 5.0 is equivalent to aggro accumulated by punching it 5 times Scale bait level - Should Bait level scale with Enchantment Level.
eg. Aggrobaiting V will apply 5x more aggro and Aggrobaiting I Bait Cooldown - The amount of Ticks an Aggrobait item will be on cooldown for.
Bait Range - The distance the Aggrobaiting Enchant will work.
Inclusive Tiers - Aggrobaiting will work on any lower leveled entities
+Use of Datapacks
The creatures Aggrobaiting will attract is modifiable via datapack.
Entities tagged with aggrobait_n will be affected by Aggrobaiting n.
eg. If an entity is tagged in aggrobait_2 then when using an item with Aggrobait II an aggro of 10(if scale bait level is true) will be applied to the Entity. If Inclusive Tiers is true then any entity tagged with aggrobait_1 will also be affected. (Untested: in theory you can have as many different tags as there are enchantment levels)
Improved aggro selection algorithm efficiency(O(nlogn)->O(n)) Sorry for the long wait guys T^T
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:sadaZczX:3U792OX5"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:sadaZczX:3U792OX5"
}

