All versions
0.3.0
Beta
MLua 0.3.02 months ago 7
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Fabric
Supported environments
Client-side
Server-side
Client and server
Required content
Any compatible version
Changes
MLua 0.3.0 Changelog
Multi-loader support
- Added Fabric support for Minecraft 1.20.1 and 1.21.1.
- Added NeoForge 1.21.1 support.
- Improved Forge 1.20.1 and 1.21.1 compatibility.
- Added loader-neutral mapping and Java bridge contracts.
- Added shared loader packaging conventions.
- Fixed NeoForge transformer and runtime mixin loading.
- Added loader metadata:
RunService.LoaderRunService.VersionRunService.MluaVersionRunService.IsForgeRunService.IsFabricRunService.IsNeoForge
Java and mixins
- Added Java class viewer/introspection.
- Added Java service access from Lua mixins.
- Added
CallOriginal()support for Lua overwrites. - Improved mixin cancellation, overrides, retransforms, and error handling.
- Added runtime mixin support across Forge, NeoForge, and Fabric.
Rendering and models
- Added in-game class inspection and render controls.
- Added
RenderService:CreateMesh(). - Added
.bbmodelloading. - Added BBModel format/version metadata.
- Added BBModel textures, cubes, bones, and animations.
- Added BBModel animation playback controls.
- Added entity-following model rendering.
- Added player model replacement:
Player:LoadModel()Player:ResetModel()
- Resetting a player model restores Minecraft’s default animation path.
Animation system
- Added animation priorities, easing styles, and easing directions.
- Added keyframes, bone poses, animation tracks, and animation controllers.
- Added animation networking and synchronization.
- Added humanoid/player model pose mixins.
- Added armor-layer pose support.
- Added CFrame-driven viewmodel transforms.
- Added animation track events and fade support.
Java API and services
- Improved Java bridge overload resolution.
- Added class inspection and method discovery.
- Added persistent and synced entity data access.
- Improved reflective service property behavior.
- Added Java service contracts usable from Lua.
VS Code extension
- Released the MLua VS Code extension at version 0.3.0.
- Improved Lua API completion and generated typings.
- Added more Minecraft class and method information.
- Added RunService, rendering, animation, mixin, and Java-service definitions.
- Improved documentation and API synchronization.
Gameplay and API improvements
- Added projectile entity registration.
- Added scripted mob effects and potion registration.
- Added item/block registry improvements.
- Added equipment, inventory, attributes, loot tables, and NBT helpers.
- Added client-side command callbacks.
- Improved reload behavior in multiplayer.
- Improved networking, coroutine scheduling, and script lifecycle cleanup.
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:zcXWXnhQ:mNxXI5vU"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:zcXWXnhQ:mNxXI5vU"
}

