物品建议不需要模组名称

物品建议不需要模组名称

在命令上使用Tab补全时,无需加模组ID前缀。

在使用命令语法 Tab 补全与其他模组配合时,通常需要先输入模组的物品命名空间,再输入物品名称,这既费时又容易被反复遗忘。相反,现在会直接建议任何物品(无论其命名空间是什么)。

开发环境:

repositories {
	maven {
		name = "Modrinth"
		url = "https://api.modrinth.com/maven"
		content { includeGroup "maven.modrinth" }
	}
}

dependencies {
	modImplementation "maven.modrinth:isnrmn:v1_03"
}