Creators
Details
Licensed BSD-3-Clause
Published 2 months ago
Updated 2 months ago
All versions
1.3-Beta
Beta
LuaMine 1.3-Beta2 months ago 9
Compatibility
Minecraft: Java Edition
1.21.11
Platform
Spigot
Changes
v1.3-Beta
Added
- Fluent command builder:
mc.command(name):execute():description():usage():tabComplete():permission():register()— adds tab-completion and permission-gated commands without growingregisterCommand's argument list.mc.registerCommand(...)still works unchanged for simple cases. require("json")— encode/decode Lua tables to/from JSON, plusjson.save(name, table)/json.load(name)for persisting data toplugins/LuaMine/config/.- World interaction:
mc.setBlock(x, y, z, type),mc.getBlock(x, y, z),mc.spawnEntity(type, x, y, z). player:giveItem(item, amount),player:hasItem(item, amount).mc.hasPermission(sender, node).- New events:
onPlayerDeath,onPlayerRespawn,onPlayerQuit,onBlockPlace,onEntityDeath,onInventoryClick(supportsreturn "cancel"likeonChat).
Known limitation
- A command registered via
mc.command()/registerCommandkeeps tab-completing its name and showing up in/helpfor the rest of the server session, even after a script stops defining it — it just reports itself as unavailable if actually run. This is an intentional trade-off for reliable command updates on Paper.
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:AWFeVxuH:A7ymPV1Y"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:AWFeVxuH:A7ymPV1Y"
}

