Tags
Creators
Details
All versions
4.2.3-beta.4
Beta
Petting 4.2.3-beta.42 months ago 2,328
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Forge
Supported environments
Client and server
Changes
Bug Fixes:
- Interaction Fix: Fixed a bug introduced in 4.2.3-beta.3 where tamed mobs, especially those with custom GUIs or on the GUI blacklist, became completely non-interactable with an empty hand due to aggressive event cancellation.
Performance Optimizations:
- Tick Handlers Optimization: Reduced the execution frequency of heavy tick handlers (Warden Darkness suppression, Golden Wheat temptation, and Pet Attribute updates). These now run periodically (e.g., every 10-20 ticks) instead of every single tick, drastically reducing server CPU overhead.
- Temptation Memory Leak Fix: Golden Wheat temptation now properly cleans up
TemptedByGoldenWheattags and AI states when an animal wanders out of range or the player stops holding wheat.
Tweaks:
- Sitting Visuals: Pets now simulate the "sneaking" state when sitting, causing their nametags to appear slightly darker/translucent and less intrusive through walls, providing better visual feedback that they are waiting.
Full Changelog: https://github.com/yigit-guven/Petting/compare/4.2.3-beta.3...4.2.3-beta.4-forge-1.20.1
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:vf91JXwf:xeZ6i0hQ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:vf91JXwf:xeZ6i0hQ"
}

