
HandyCommands
HandyCommands is a lightweight Forge helper mod designed to improve vanilla Minecraft convenience through a set of practical commands and mechanics. It is tailored for vanilla survival, server administration, and map‑making scenarios. No dependencies are r
1.2.4
Compatibility
Changes
Added /handycommands command subcommand to bind arbitrary commands to held items; right-clicking the bound item executes the stored command with elevated permissions (level 4), bypassing all permission checks.
新增 /handycommands command 子命令,可将任意指令绑定至手持物品上,右键该物品以权限等级 4 执行绑定指令,无视所有权限限制。
Added consume and unconsume variants for command binding, allowing control over whether the bound item is consumed (shrunk by 1) after each use.
新增 /handycommands command consume 和 unconsume 变体,可控制绑定物品在每次右键执行后是否消耗(数量减 1)。
Added RightClickItem and RightClickBlock event handlers in HandyCommands.java with a per-player tick cooldown to prevent double command execution when both events fire for the same interaction.
在 HandyCommands.java 中添加 RightClickItem 和 RightClickBlock 事件处理器,并加入每玩家刻度冷却机制,防止同一交互触发两次事件导致指令重复执行。
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:gd98EfuG:ix6sN56f"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:gd98EfuG:ix6sN56f"
}
