@minecraft/server-editorFunctionsgetLocalizationId本页总览Function: getLocalizationId() getLocalizationId(locId): string Parameters ParameterTypelocIdstring Returns string Remarks Adds the resource pack editor prefix and returns the full localization ID