1.0
Compatibility
Changes
KindPig is a mod that adds a unique and challenging hostile pig to Minecraft. With a wide array of abilities, dynamic behaviors, and advanced AI, KindPig offers an intense and strategic combat experience. This mob is designed for players seeking a challenge beyond conventional enemies, featuring unique combat mechanics such as area attacks, throws, and relentless pursuit.
✨ Main Features Unique Mob: KindPig is a hostile pig with 180 health points, high armor, and knockback resistance.
Dynamic Combat System:
-Varied Attacks: Melee strikes, charges, throws, and spin attacks.
-Adaptive AI: Switches between combat styles (Balanced, Aggressive, Defensive, Unpredictable) depending on the situation.
-Combo System: Chained attacks that avoid boring repetitions.
-Enhanced Pursuit: Breaks natural blocks (leaves, flowers, grass) while chasing and performs long jumps to reach targets.
Special Behaviors:
-Feeding: Eats golden apples to regenerate health.
-Evolution: If it survives 25 days in the world, it gains a 25% boost to health, damage, and armor.
-Visual States: Textures change according to its state (angry, celebrating).
-Fluid Animations: Uses GeckoLib for high-quality animations in all its movements and attacks.
-World Generation: Spawns in various biomes with adjusted probabilities (higher probability in deserts and jungles, lower in snowy biomes).
🎮 Detailed Combat Mechanics KindPig has an advanced combat system that makes it a formidable enemy:
Attacks:
-Melee Strike: Moderate damage in a frontal area.
-Lunge Charge: Charges forward, high damage and knockback.
-Throw: Grabs and throws the player, can be blocked with a shield (50% chance).
-Spin Attack: Wide area damage, invulnerable during the animation.
Attack Patterns:
-Uses an attack rotation to avoid repeating the same move.
-The probability of each attack varies depending on the number of nearby enemies and the current combat style.
Combat Styles:
-Balanced: Mix of attacks, spin attack only with 2+ enemies.
-Aggressive: Favors melee attacks, never uses spin.
-Defensive: More charges and throws.
-Unpredictable: Random attacks, higher probability of spin.
Pursuit:
-Breaks natural blocks (leaves, flowers, grass, weak logs) while chasing.
-Performs long jumps to cover distance.
-Predicts player movement for better tracking.
Weaknesses:
-Vulnerable to ranged attacks (damage reduced by 95%).
-Can be stunned if it receives high damage (>10) in one hit.
-If it has no target, it returns to a neutral state.
📦 Loot upon Defeat When KindPig is defeated, it drops:
-1x Golden Apple
-3x Porkchop
-2x Iron Ingot
-15% chance for a Totem of Undying
🔧 Compatibility -Minecraft Versions: 1.20.1 (likely other modern versions with adjustments).
-Loader: Forge (due to the use of GeckoLib and Forge systems).
-Compatibility Mods: Works with mods that add new biomes, structures, and difficulty mods.
-Client/Server: Compatible on both sides.
⚠️ Technical Notes -Requirements: GeckoLib must be installed.
-Configuration: Currently, there is no configuration file, but attributes and probabilities can be adjusted in the code.
-Performance: The advanced AI and particles may affect performance on low-end systems. Adjusting particles is recommended if necessary.
🎨 Credits and Acknowledgments -Creator: SMH.
-GeckoLib: For the animation system.
-Textures and Models: SMH.
-Inspiration: Our team thought of a mob that would bring more fun and variety to the game.
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:XgMzJ2XY:pYsI6Y91"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:XgMzJ2XY:pYsI6Y91"
}

