🐷 Fix: Carrot on a Stick now correctly attracts pigs
• Previously, pigs did not react to the Carrot on a Stick due to missing logic.
This item is now properly recognized as a pig-attracting food source.
🥕 Improvement: Food attraction logic updated
• The Carrot on a Stick has been added to the detection system.
• Animals now correctly enter the friendly/attracted state when holding the appropriate food item.
🐑 Improved group fleeing behavior
• When multiple animals are attracted to the player with food, attacking any one of them will now startle the entire group.
🔧 Other logic refinements
• Internal state handling has been improved for better readability and future expansion.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }