Tags
Creators
Details
All versions
2.4.0-1.21.9
Release
2.4.0-1.21.9-NeoForge5 months ago 5
Compatibility
Minecraft: Java Edition
1.21.9–1.21.10
Platform
NeoForge
Supported environments
Client and server
Required content
Any compatible version
Changes
Animal Pens 2.4.0
Changes:
- Changed Water Animal Container name to Aquatic Jar
- Changed Bird Catcher name to Avian Net
- Reworked block config screen.
- Reworked Variant Selection Screen
- Move stored variants to separate data-file to reduce ItemStack memory size
- Fixed incompatibility with mods that overwrite dispenser tool interactions Some mods are overwriting how dispenser interacts with items without keeping already existing behaviour, which broke interactions with animal pens.
- Implement server-side config option to block dispensers from interacting with animal pens (block_dispenser_interaction)
- Improve performance
- reduce sever-client packet amount (send only once cooldown is added/removed)
- reduce entity tag update on server side (remove unnecessary tag loadings)
API:
- EntityFunction#interactDispenser method is changed and includes
indexof interaction slot. Old method is deprecated.
Optional dependencies
Any compatible version
Any compatible version
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:K5CAV4wi:zhGmhHGi"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:K5CAV4wi:zhGmhHGi"
}

