Tags
Creators
Details
Licensed GPL-3.0-only
Published 2 years ago
Updated 29 days ago
All versions
2.4.6
Release
EntityJS 2.4.629 days ago 167
Compatibility
Minecraft: Java Edition
26.1.2
Platform
NeoForge
Supported environments
Client and server
Required content
Any compatible version
Any compatible version
Changes
- Updated to 26.1.2
- Replaced
canChangeDimensionswithcanTeleport, withcontext.entity,context.from&context.to - Replaced
lerpTowithmoveOrInterpolateTo, with optional position, yaw & pitch values and support for cancelling movement before vanilla runs - Replaced
canDisableShieldwithsecondsToDisableBlocking, allowing scripts to return the blocking disable duration - Replaced
canTakeItemwithcanEquipWithDispenser - Removed obsolete
eat&shouldRiderFaceForwardcallbacks. - Updated custom entity
getAttackBoundingBoxcallbacks to receivecontext.entity&context.horizontalExpansion - Updated custom entity
isAlliedTocallbacks to usecontext.entity&context.team - Updated custom entity
onHurtTargetcallbacks to usecontext.level,context.entity&context.target - Added server level information to damage & trampling contexts and updated fall distance values to doubles
- Updated projectile weapon contexts to expose the weapon
ItemStackinstead of theProjectileWeaponItem - Updated render callbacks & layer contexts to use
renderState,submitNodeCollector&cameraRenderStateinstead of the old buffer source & vertex consumer fields - Added the current render state, default texture & render type to renderer override contexts
- Updated custom renderer/model factory contexts to use the new item/model resolvers & entity model set
- Moved geo models into
geckolib/models& animations intogeckolib/animations - Updated model & animation callbacks to use resource IDs like
kubejs:entity/wyrm. Oldgeo/&animations/callback paths are normalized, but the files still need to be moved - Fixed animation chaining,
thenPlayXTimes()repeat counts & custom nonliving animation callbacks
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:OvPZ16yX:mnkHFyt5"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:OvPZ16yX:mnkHFyt5"
}

